aboutsummaryrefslogtreecommitdiffstats
path: root/run_tests.sh
diff options
context:
space:
mode:
authorRoss Brattain <ross.b.brattain@intel.com>2017-07-31 21:26:15 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-07-31 21:26:15 +0000
commit66ee8251059315274f98eb1eef4eb3f8dda92b6e (patch)
treed088a5414c0080f9bf87f7bc268ee8c306e887e2 /run_tests.sh
parentc42d56297d22afb4245eae76c43fa762e14993ab (diff)
parent615f870b3e8cdef1ec48bd59238ed4e2271ddca4 (diff)
Merge "run_tests: don't write python bytecode"
Diffstat (limited to 'run_tests.sh')
-rwxr-xr-xrun_tests.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/run_tests.sh b/run_tests.sh
index 2519d94f6..2cf54c708 100755
--- a/run_tests.sh
+++ b/run_tests.sh
@@ -13,6 +13,9 @@
getopts ":f" FILE_OPTION
+# don't write .pyc files this can cause odd unittest results
+export PYTHONDONTWRITEBYTECODE=1
+
run_flake8() {
echo "Running flake8 ... "
logfile=test_results.log