summaryrefslogtreecommitdiff
path: root/scripts/TestUtil.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/TestUtil.py')
-rwxr-xr-xscripts/TestUtil.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/scripts/TestUtil.py b/scripts/TestUtil.py
index 2667349bcef..af626c73bc0 100755
--- a/scripts/TestUtil.py
+++ b/scripts/TestUtil.py
@@ -1320,7 +1320,9 @@ def clientServerTest(additionalServerOptions = "", additionalClientOptions = "",
client = getCommandLine(client, clientCfg, additionalClientOptions)
clientProc = spawnClient(client, env = clientenv, startReader = False, lang=clientCfg.lang)
print("ok")
- clientProc.startReader()
+
+ global watchDog
+ clientProc.startReader(watchDog)
clientProc.waitTestSuccess()
serverProc.waitTestSuccess()
@@ -1353,7 +1355,9 @@ def collocatedTest(additionalOptions = ""):
collocated = getCommandLine(collocated, DriverConfig("colloc"), additionalOptions)
collocatedProc = spawnClient(collocated, env = env, startReader = False, lang=lang)
print("ok")
- collocatedProc.startReader()
+
+ global watchDog
+ collocatedProc.startReader(watchDog)
collocatedProc.waitTestSuccess()
if appverifier:
appVerifierAfterTestEnd([exe])