summaryrefslogtreecommitdiff
path: root/uitest
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-09-30 14:28:20 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-10-01 16:21:54 +0200
commitd35840a2111beafe018851314a624e268e3cde6a (patch)
treeee7996e4a194314d1be839c10884d2c76076eeb4 /uitest
parent11a1e514db79b7109c3ad59be4a27f724aadc1de (diff)
uitest: make child soffice process die when parent dies
using PR_SET_PDEATHSIG. Note that this can only be called by the child process in question, so we have to pass a new command line argument down to activate it. And we have to plumb it through the wrapper oosplash process. I wonder where else our testing infrastructure could benefit from this Change-Id: I55e8e9f7f4e6cc415046df04c804e51475b8a4c9 Reviewed-on: https://gerrit.libreoffice.org/79854 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'uitest')
-rw-r--r--uitest/libreoffice/connection.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/uitest/libreoffice/connection.py b/uitest/libreoffice/connection.py
index 50fdda33fd34..9e145c98a686 100644
--- a/uitest/libreoffice/connection.py
+++ b/uitest/libreoffice/connection.py
@@ -66,7 +66,7 @@ class OfficeConnection:
argv = [soffice, "--accept=" + socket + ";urp",
"-env:UserInstallation=" + userdir,
"--quickstart=no", "--nofirststartwizard",
- "--norestore", "--nologo"]
+ "--norestore", "--nologo", "--dont-survive-parent"]
if "--valgrind" in self.args:
argv.append("--valgrind")