From 4ec71284708bbeb0c4eb92c49a8a3e41de137b13 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Tue, 26 Apr 2016 16:00:16 +0200 Subject: convwatch: use PerTestConnection by default It's more robust to restart soffice after every file, even if it takes more time, overall it's better than having to prune all the files that are invalid or cause loops before running convwatch. Change-Id: I7f7155f71bb2522ae48182aa1b5ca61fc47ae4d5 --- bin/convwatch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/convwatch.py b/bin/convwatch.py index abc88adcef48..dacf0372de65 100644 --- a/bin/convwatch.py +++ b/bin/convwatch.py @@ -335,8 +335,8 @@ def runLoadPrintFileTests(opts, dirs, suffix, reference): prtsuffix = ".pdf" files = getFiles(dirs, suffix) tests = (LoadPrintFileTest(file, prtsuffix) for file in files) - connection = PersistentConnection(opts) -# connection = PerTestConnection(opts) +# connection = PersistentConnection(opts) + connection = PerTestConnection(opts) failed = runConnectionTests(connection, simpleInvoke, tests) print("all printed: FAILURES: " + str(len(failed))) for fail in failed: -- cgit