diff options
author | Ross Brattain <ross.b.brattain@intel.com> | 2017-07-31 13:36:28 -0700 |
---|---|---|
committer | Ross Brattain <ross.b.brattain@intel.com> | 2017-07-31 13:36:54 -0700 |
commit | 615f870b3e8cdef1ec48bd59238ed4e2271ddca4 (patch) | |
tree | e4b0690da3376567a7ce6ddff18a7cdda800ef29 | |
parent | f143efd61c874ff6d8e18073d7f2f716abad9864 (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>
-rwxr-xr-x | run_tests.sh | 3 |
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 |