aboutsummaryrefslogtreecommitdiffstats
path: root/run_tests.sh
diff options
context:
space:
mode:
authorRoss Brattain <ross.b.brattain@intel.com>2017-07-31 13:36:28 -0700
committerRoss Brattain <ross.b.brattain@intel.com>2017-07-31 13:36:54 -0700
commit615f870b3e8cdef1ec48bd59238ed4e2271ddca4 (patch)
treee4b0690da3376567a7ce6ddff18a7cdda800ef29 /run_tests.sh
parentf143efd61c874ff6d8e18073d7f2f716abad9864 (diff)
run_tests: don't write python bytecode
we usually disable .pyc generate during unittests Change-Id: I7d7af7c6d188f5a592d24aa90322edb217ffd8ba Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
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