summaryrefslogtreecommitdiffstats
path: root/tests.sh
diff options
context:
space:
mode:
authorYu Yang (Gabriel) <Gabriel.yuyang@huawei.com>2016-12-22 02:43:25 +0000
committerGerrit Code Review <gerrit@opnfv.org>2016-12-22 02:43:25 +0000
commit4c99cce55d24312bd4339d156440f1e95ad04cf2 (patch)
treee1b3aec1ae63b838f2eec95a51b56c5375262fe2 /tests.sh
parentf167a9ebbc5a2a76e7cefe6152c2ba689d6b08e2 (diff)
parentabbd8ce62ba662cd2659589a9996e827d13ad061 (diff)
Merge "Add flake8 style config and for POSCA"
Diffstat (limited to 'tests.sh')
-rwxr-xr-xtests.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests.sh b/tests.sh
index 8df8140d..18110770 100755
--- a/tests.sh
+++ b/tests.sh
@@ -17,9 +17,9 @@ run_flake8() {
echo "Running flake8 ... "
logfile=test_results.log
if [ $FILE_OPTION == "f" ]; then
- flake8 ../bottlenecks > $logfile
+ sudo flake8 --append-config=flake8_cfg testsuites/posca/ > $logfile
else
- flake8 ../bottlenecks
+ sudo flake8 --append-config=flake8_cfg testsuites/posca/
fi
if [ $? -ne 0 ]; then
@@ -40,8 +40,6 @@ run_tests() {
run_coverage() {
echo "Running coverage ..."
- #source tests/ci/cover.sh
- #run_coverage_test
#will add future
}