summaryrefslogtreecommitdiffstats
path: root/ci/run_tests.py
diff options
context:
space:
mode:
authorSerenaFeng <feng.xiaowei@zte.com.cn>2016-08-31 11:07:40 +0800
committerMorgan Richomme <morgan.richomme@orange.com>2016-08-31 12:13:51 +0000
commitb9769fd308b7a92ccb90a3b9171cfd429c865910 (patch)
tree4069067aa01b6b974df9087431d32efe7bdb3a80 /ci/run_tests.py
parent34947aa5d4ea991f20c94c5216a2f6a01cbfa37f (diff)
unify testcases.yaml obtain process
hardcoded "''FUNCTEST_REPO + "/ci/testcases.yaml"''' appears wherever testcases.yaml is needed, abstract a method to provide unified interface JIRA: FUNCTEST-449 Change-Id: Ida8e3d90926d3e2245883a29f577ecb121bd5d6c Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn> (cherry picked from commit f5afb93a4a2ed9547757655c1405ef27fabed11b)
Diffstat (limited to 'ci/run_tests.py')
-rwxr-xr-xci/run_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/run_tests.py b/ci/run_tests.py
index f2a119900..d8f488388 100755
--- a/ci/run_tests.py
+++ b/ci/run_tests.py
@@ -187,7 +187,7 @@ def main():
CI_INSTALLER_TYPE = os.getenv('INSTALLER_TYPE')
CI_SCENARIO = os.getenv('DEPLOY_SCENARIO')
- file = FUNCTEST_REPO + "/ci/testcases.yaml"
+ file = ft_utils.get_testcases_file()
_tiers = tb.TierBuilder(CI_INSTALLER_TYPE, CI_SCENARIO, file)
if args.noclean: