Bug 779006 - Display pid in xpchsell's check-interactive mode. r=ctalbert

This commit is contained in:
Paul Dagnelie 2012-08-13 13:19:11 -04:00
Родитель a70aaff212
Коммит 0e22238d23
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -738,6 +738,9 @@ class XPCShellTests(object):
proc = self.launchProcess(completeCmd,
stdout=pStdout, stderr=pStderr, env=self.env, cwd=testdir)
if interactive:
self.log.info("TEST-INFO | %s | Process ID: %d" % (name, proc.pid))
# Allow user to kill hung subprocess with SIGINT w/o killing this script
# - don't move this line above launchProcess, or child will inherit the SIG_IGN
signal.signal(signal.SIGINT, markGotSIGINT)