X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=run_tests.sh;h=2519d94f648cac6ca17a75d9f33e1b9bf9926e44;hb=d2451a0232c9316b6d8d53c6b362fa6a840ff1e1;hp=82c8251ffe47cea0fa7f8007bfd50cf345ccb926;hpb=92a37a7a51adea10e787be1430ffee0876323388;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