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:
parent
66f769feb2
commit
4ec7128470
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue