Kill test processes whenever any error occurs

This commit is contained in:
George Roman 2018-11-26 22:42:27 +02:00
parent 524bd722ef
commit c1738b37c6
2 changed files with 2 additions and 2 deletions

View file

@ -667312,7 +667312,7 @@
"support" "support"
], ],
"tools/wptrunner/wptrunner/executors/executorservo.py": [ "tools/wptrunner/wptrunner/executors/executorservo.py": [
"49b682c749f897eb234c6bf4bb7ade3ed021dd7b", "784356bb8b0c2b4e12cf53bb0ba90a9a3ffe39c2",
"support" "support"
], ],
"tools/wptrunner/wptrunner/executors/executorservodriver.py": [ "tools/wptrunner/wptrunner/executors/executorservodriver.py": [

View file

@ -122,7 +122,7 @@ class ServoTestharnessExecutor(ProcessTestExecutor):
self.proc.wait() self.proc.wait()
else: else:
self.proc.kill() self.proc.kill()
except KeyboardInterrupt: except:
self.proc.kill() self.proc.kill()
raise raise