From 1c9698b10722abf5025ed4d464a5bec60da0daa4 Mon Sep 17 00:00:00 2001 From: Jon Turney Date: Mon, 21 Jun 2021 14:14:31 +0100 Subject: Drop checking skippable() in run_single_test Drop checking skippable() in run_single_test. It always returns True unless we are under CI, so checking it here is pointless. --- run_single_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'run_single_test.py') diff --git a/run_single_test.py b/run_single_test.py index 4d705078d..0a9357300 100755 --- a/run_single_test.py +++ b/run_single_test.py @@ -13,7 +13,7 @@ import pathlib import typing as T from mesonbuild import mlog -from run_project_tests import TestDef, load_test_json, run_test, BuildStep, skippable +from run_project_tests import TestDef, load_test_json, run_test, BuildStep from run_project_tests import setup_commands, detect_system_compiler, print_tool_versions if T.TYPE_CHECKING: @@ -50,7 +50,7 @@ def main() -> None: results = [run_test(t, t.args, '', True) for t in tests] failed = False for test, result in zip(tests, results): - if (result is None) or (('MESON_SKIP_TEST' in result.stdo) and (skippable(str(args.case.parent), test.path.as_posix()))): + if (result is None) or ('MESON_SKIP_TEST' in result.stdo): msg = mlog.yellow('SKIP:') elif result.msg: msg = mlog.red('FAIL:') -- cgit v1.2.1