Skip to content

Commit

Permalink
Add a script that will run a single test
Browse files Browse the repository at this point in the history
Makes it easier to debug differences between versions
  • Loading branch information
shankari committed Nov 28, 2017
1 parent 75674f5 commit 363739e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions runSingleTestDebug.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
set -e
# Clean out the .pyc files so that we don't get false positives when we refactor code
# find . -name \*.pyc | xargs rm
# We can't do this - it looks like the automated test environment doesn't support xargs
# Removing emission/tests/storageTests/__init__.pyc
# + ./runAllTests.sh
# rm: missing operand
# Try `rm --help' for more information.
# PYTHONPATH=. python -m unittest discover -s emission/tests -p Test*;
PYTHONPATH=. python emission/tests/netTests/TestPush.py

0 comments on commit 363739e

Please sign in to comment.