X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=run_tests.sh;h=2519d94f648cac6ca17a75d9f33e1b9bf9926e44;hb=146e193c209fe654c4aeb88e9a2564df9960a8e4;hp=82c8251ffe47cea0fa7f8007bfd50cf345ccb926;hpb=fdc0a62eb8fc92bcc0de1c65beda00c667cfcffb;p=yardstick.git diff --git a/run_tests.sh b/run_tests.sh index 82c8251ff..2519d94f6 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -9,7 +9,7 @@ # http://www.apache.org/licenses/LICENSE-2.0 ############################################################################## -# Run yardstick's test suite(s) +# Run yardstick's flake8, unit, coverage, functional test getopts ":f" FILE_OPTION @@ -33,7 +33,10 @@ run_flake8() { fi } + run_tests() { + echo "Get external libs needed for unit test" + echo "Running unittest ... " if [ $FILE_OPTION == "f" ]; then python -m unittest discover -v -s tests/unit > $logfile 2>&1