diff options
author | Ross Brattain <ross.b.brattain@intel.com> | 2017-11-29 11:50:04 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-11-29 11:50:04 +0000 |
commit | 449679aeee27e08d5e47a7d5d76857b4827e263e (patch) | |
tree | ca36e2104a16fa3ab84ef53102cb672de177ac55 /run_tests.sh | |
parent | 75606db72e5d3afb6afe590e76b3baef3af3f5c6 (diff) | |
parent | 44070670c798d2cde2824f3150b2b11bf35c6319 (diff) |
Merge "Tox: add a pep8 target"
Diffstat (limited to 'run_tests.sh')
-rwxr-xr-x | run_tests.sh | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/run_tests.sh b/run_tests.sh index b3cbfb127..097935890 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -22,27 +22,6 @@ export PY_VER COVER_DIR_NAME="./tests/ci/" export COVER_DIR_NAME -run_flake8() { - echo "Running flake8 ... " - logfile=test_results.log - if [ $FILE_OPTION == "f" ]; then - flake8 yardstick > $logfile - else - flake8 yardstick - fi - - if [ $? -ne 0 ]; then - echo "FAILED" - if [ $FILE_OPTION == "f" ]; then - echo "Results in $logfile" - fi - exit 1 - else - echo "OK" - fi -} - - run_tests() { echo "Get external libs needed for unit test" @@ -90,7 +69,6 @@ run_functional_test() { } -run_flake8 run_tests run_coverage run_functional_test |