summaryrefslogtreecommitdiffstats
path: root/tests.sh
diff options
context:
space:
mode:
authoryuyang <Gabriel.yuyang@huawei.com>2016-12-20 00:37:59 +0800
committeryuyang <Gabriel.yuyang@huawei.com>2016-12-21 20:21:46 +0800
commitabbd8ce62ba662cd2659589a9996e827d13ad061 (patch)
tree28d1e88caab88f631bda6cdba9bffad4e6e5f8b2 /tests.sh
parent32fc31642ff993fe93e5033cba9f97a633a0a340 (diff)
Add flake8 style config and for POSCA
JIRA: BOTTLENECK-100 Adding flake8 configuration and fix for POSCA Change-Id: Ib822d5abde535263a4473d67c15cc17995f1417b Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
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
}