summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-04-26 16:00:16 +0200
committerMichael Stahl <mstahl@redhat.com>2016-04-27 15:52:42 +0200
commit4ec71284708bbeb0c4eb92c49a8a3e41de137b13 (patch)
treedfdb83bff1ac8527e04259485ea1eea7a408259c /bin
parent66f769feb25f62042ac101132ce73043e6bcd135 (diff)
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
Diffstat (limited to 'bin')
-rw-r--r--bin/convwatch.py4
1 files changed, 2 insertions, 2 deletions
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: