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
This commit is contained in:
Michael Stahl 2016-04-26 16:00:16 +02:00
parent 66f769feb2
commit 4ec7128470

View file

@ -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: