Chromium Code Reviews| Index: test/mjsunit/testcfg.py |
| =================================================================== |
| --- test/mjsunit/testcfg.py (revision 7551) |
| +++ test/mjsunit/testcfg.py (working copy) |
| @@ -107,7 +107,7 @@ |
| return self_script |
| def AfterRun(self, result): |
| - if self.self_script and (not result.HasPreciousOutput()): |
| + if self.self_script and (result is None or (not result.HasPreciousOutput())): |
| test.CheckedUnlink(self.self_script) |
| class MjsunitTestConfiguration(test.TestConfiguration): |