mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 692987 - Add -d flag to xpcshell to run with JSD enabled (r=ted)
--HG-- extra : rebase_source : d4523272a006767e6928c8fb32b7fdd7577210d5
This commit is contained in:
parent
51be211b08
commit
0003c5e103
@ -502,11 +502,15 @@ class XPCShellTests(object):
|
|||||||
# The test file will have to be loaded after the head files.
|
# The test file will have to be loaded after the head files.
|
||||||
cmdT = self.buildCmdTestFile(name)
|
cmdT = self.buildCmdTestFile(name)
|
||||||
|
|
||||||
|
args = self.xpcsRunArgs
|
||||||
|
if 'debug' in test:
|
||||||
|
args.insert(0, '-d')
|
||||||
|
|
||||||
try:
|
try:
|
||||||
self.log.info("TEST-INFO | %s | running test ..." % name)
|
self.log.info("TEST-INFO | %s | running test ..." % name)
|
||||||
startTime = time.time()
|
startTime = time.time()
|
||||||
|
|
||||||
proc = self.launchProcess(cmdH + cmdT + self.xpcsRunArgs,
|
proc = self.launchProcess(cmdH + cmdT + args,
|
||||||
stdout=pStdout, stderr=pStderr, env=self.env, cwd=testdir)
|
stdout=pStdout, stderr=pStderr, env=self.env, cwd=testdir)
|
||||||
|
|
||||||
# Allow user to kill hung subprocess with SIGINT w/o killing this script
|
# Allow user to kill hung subprocess with SIGINT w/o killing this script
|
||||||
|
Loading…
Reference in New Issue
Block a user