Log if a game crashes

This commit is contained in:
Jeffrey Pfau 2014-10-10 22:54:04 -07:00
parent 2a6d106ebd
commit d87081e6bc
1 changed files with 1 additions and 0 deletions

View File

@ -41,6 +41,7 @@ class PerfTest(object):
proc.kill()
raise
if proc.returncode < 0:
print('Game crashed!', file=sys.stderr)
return
reader = csv.DictReader(proc.stdout)
self.results = next(reader)