summaryrefslogtreecommitdiff
path: root/Test/runTests.py
diff options
context:
space:
mode:
authorGravatar Clément Pit--Claudel <clement.pitclaudel@live.com>2015-08-19 16:15:47 -0700
committerGravatar Clément Pit--Claudel <clement.pitclaudel@live.com>2015-08-19 16:15:47 -0700
commite5f9a4cbf74f7794ad13b2a5bd831fd54c20629c (patch)
treed79804a79886a7cc465cf859337ff27937eb3bec /Test/runTests.py
parent43cbd76e07262d05434e36dff99f8d10eb59a773 (diff)
runTests: Accept tests one by one, even if they are given as a .lst file
Diffstat (limited to 'Test/runTests.py')
-rw-r--r--Test/runTests.py3
1 files changed, 2 insertions, 1 deletions
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])