# HG changeset patch # User Pierre-Yves David # Date 1276786644 -7200 # Node ID 07c1d64dff348f2b4a77d4181ababe0aef22a562 # Parent 916ddfd72ac2439009e71cbc625cdc99aefacaf0 [qunit] check that the browser has not died by himself before we asked him to stop. diff -r 916ddfd72ac2 -r 07c1d64dff34 devtools/qunit.py --- a/devtools/qunit.py Thu Jun 17 16:56:38 2010 +0200 +++ b/devtools/qunit.py Thu Jun 17 16:57:24 2010 +0200 @@ -70,6 +70,7 @@ def stop(self): if self._process is not None: + assert self._process.returncode is None, self._process.returncode os.kill(self._process.pid, signal.SIGTERM) self._process.wait() self._process = None