Просмотр исходного кода

ci: bugfix: known failure cases cannot read files

Fu Hanxi 5 лет назад
Родитель
Сommit
4ffd458ddd
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      tools/ci/python_packages/tiny_test_fw/bin/Runner.py

+ 1 - 1
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():