зеркало из https://github.com/mozilla/pjs.git
Bug 692987 - Add -d flag to xpcshell to run with JSD enabled (r=ted)
--HG-- extra : rebase_source : a26e627ca221fffe2383dc133511fe04b614009a
This commit is contained in:
Родитель
e58689eb87
Коммит
934db8c8e3
|
@ -499,11 +499,15 @@ class XPCShellTests(object):
|
|||
# The test file will have to be loaded after the head files.
|
||||
cmdT = self.buildCmdTestFile(name)
|
||||
|
||||
args = self.xpcsRunArgs
|
||||
if 'debug' in test:
|
||||
args.insert(0, '-d')
|
||||
|
||||
try:
|
||||
self.log.info("TEST-INFO | %s | running test ..." % name)
|
||||
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)
|
||||
|
||||
# Allow user to kill hung subprocess with SIGINT w/o killing this script
|
||||
|
|
Загрузка…
Ссылка в новой задаче