From e5f9a4cbf74f7794ad13b2a5bd831fd54c20629c Mon Sep 17 00:00:00 2001 From: Clément Pit--Claudel Date: Wed, 19 Aug 2015 16:15:47 -0700 Subject: runTests: Accept tests one by one, even if they are given as a .lst file --- Test/runTests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Test/runTests.py') diff --git a/Test/runTests.py b/Test/runTests.py index eae29012..7cd90454 100644 --- a/Test/runTests.py +++ b/Test/runTests.py @@ -491,12 +491,13 @@ def run_tests(args): debug(Debug.ERROR, "Testing interrupted") -def diff(paths, accept, difftool): +def diff(paths, force_accept, difftool): for path in expand_lsts(paths): if not os.path.exists(path): debug(Debug.ERROR, "Not found: {}".format(path)) else: test = Test(None, path, [], None) + accept = force_accept if not accept: call([difftool, test.expect_path, test.temp_output_path]) -- cgit v1.2.3