From 4ffd458ddd2eb46d8ff08f80b6dd6ba7d9ec0ceb Mon Sep 17 00:00:00 2001 From: Fu Hanxi Date: Tue, 9 Feb 2021 15:33:49 +0800 Subject: [PATCH] ci: bugfix: known failure cases cannot read files --- tools/ci/python_packages/tiny_test_fw/bin/Runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ci/python_packages/tiny_test_fw/bin/Runner.py b/tools/ci/python_packages/tiny_test_fw/bin/Runner.py index 20e19cb3eb..5828a796f8 100644 --- a/tools/ci/python_packages/tiny_test_fw/bin/Runner.py +++ b/tools/ci/python_packages/tiny_test_fw/bin/Runner.py @@ -52,7 +52,7 @@ class Runner(threading.Thread): @staticmethod def _get_config_cases(config_file): res = set() - if not config_file or os.path.isfile(config_file): + if not config_file or not os.path.isfile(config_file): return res for line in open(config_file).readlines():