diff options
author | Yu Yang (Gabriel) <Gabriel.yuyang@huawei.com> | 2018-05-11 01:17:25 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-05-11 01:17:25 +0000 |
commit | 26c5395c463a51413fd06664ebd630a09e00f88d (patch) | |
tree | 8a6ffb85052d6ffcf7d11bb49b7a44fb66bafbe9 | |
parent | 43342d9414496ddb1519c920419b3ae5845097c5 (diff) | |
parent | ecb0c2463b0f5351dfa54dc8462656a68d7b9a32 (diff) |
Merge "Add monitor dir to unit test" into stable/fraser
-rwxr-xr-x | verify.sh | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -12,6 +12,7 @@ # Run flake8, unit, coverage test getopts ":f" FILE_OPTION +STYLE_CHECK_DIRS="testsuites/posca/ utils/ monitor/" run_flake8() { echo "=========================================" @@ -19,9 +20,9 @@ run_flake8() { echo "-----------------------------------------" logfile=flake8_verify.log if [ $FILE_OPTION == "f" ]; then - flake8 --append-config=flake8_cfg testsuites/posca/ utils/ > $logfile + flake8 --append-config=flake8_cfg ${STYLE_CHECK_DIRS} > $logfile else - flake8 --append-config=flake8_cfg testsuites/posca/ utils/ + flake8 --append-config=flake8_cfg ${STYLE_CHECK_DIRS} fi if [ $? -ne 0 ]; then @@ -53,7 +54,8 @@ run_nosetests() { utils/env_prepare/__init__.py \ utils/infra_setup/__init__.py \ monitor/__init__.py \ - monitor/config/__init__.py + monitor/dashboard/__init__.py \ + monitor/dispatch/__init__.py echo "===================END===================" } |