From 33d2ca1dd793ce201bfb3ef38154632f5cc3dd46 Mon Sep 17 00:00:00 2001 From: wuzewu Date: Mon, 7 Jan 2019 18:57:51 +0800 Subject: [PATCH] fix shell executor path error --- .travis.yml | 4 ++-- scripts/test_all_case.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index a1318135..cbe75e4a 100755 --- a/.travis.yml +++ b/.travis.yml @@ -9,8 +9,8 @@ os: - linux script: - - sh -x ./scripts/test_all_case.sh ./tests/tclist_all - - sh -x ./scripts/check_code_style.sh + - /bin/bash ./scripts/test_all_case.sh ./tests/tclist_all + - /bin/bash ./scripts/check_code_style.sh notifications: email: diff --git a/scripts/test_all_case.sh b/scripts/test_all_case.sh index c630f3ef..67c0ce17 100755 --- a/scripts/test_all_case.sh +++ b/scripts/test_all_case.sh @@ -21,8 +21,8 @@ cd ${base_path} pip install -r requirements.txt # run all case list in the {listfile} -cd ${test_case_path} +cd - for test_file in `cat $listfile` do - python ${test_file}.py + python ${test_case_path}/${test_file}.py done -- GitLab