From 363739efdf313ca9e2b8505a9ef3ee5281ff208f Mon Sep 17 00:00:00 2001 From: "K. Shankari" Date: Mon, 27 Nov 2017 19:04:55 -0800 Subject: [PATCH] Add a script that will run a single test Makes it easier to debug differences between versions --- runSingleTestDebug.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 runSingleTestDebug.sh diff --git a/runSingleTestDebug.sh b/runSingleTestDebug.sh new file mode 100755 index 000000000..8204d4b20 --- /dev/null +++ b/runSingleTestDebug.sh @@ -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