| OLD | NEW |
| 1 # Copyright 2012 the V8 project authors. All rights reserved. | 1 # Copyright 2012 the V8 project authors. All rights reserved. |
| 2 # Redistribution and use in source and binary forms, with or without | 2 # Redistribution and use in source and binary forms, with or without |
| 3 # modification, are permitted provided that the following conditions are | 3 # modification, are permitted provided that the following conditions are |
| 4 # met: | 4 # met: |
| 5 # | 5 # |
| 6 # * Redistributions of source code must retain the above copyright | 6 # * Redistributions of source code must retain the above copyright |
| 7 # notice, this list of conditions and the following disclaimer. | 7 # notice, this list of conditions and the following disclaimer. |
| 8 # * Redistributions in binary form must reproduce the above | 8 # * Redistributions in binary form must reproduce the above |
| 9 # copyright notice, this list of conditions and the following | 9 # copyright notice, this list of conditions and the following |
| 10 # disclaimer in the documentation and/or other materials provided | 10 # disclaimer in the documentation and/or other materials provided |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 for failed in self.runner.failed: | 82 for failed in self.runner.failed: |
| 83 self.PrintFailureHeader(failed) | 83 self.PrintFailureHeader(failed) |
| 84 if failed.output.stderr: | 84 if failed.output.stderr: |
| 85 print "--- stderr ---" | 85 print "--- stderr ---" |
| 86 print failed.output.stderr.strip() | 86 print failed.output.stderr.strip() |
| 87 if failed.output.stdout: | 87 if failed.output.stdout: |
| 88 print "--- stdout ---" | 88 print "--- stdout ---" |
| 89 print failed.output.stdout.strip() | 89 print failed.output.stdout.strip() |
| 90 print "Command: %s" % EscapeCommand(self.runner.GetCommand(failed)) | 90 print "Command: %s" % EscapeCommand(self.runner.GetCommand(failed)) |
| 91 if failed.output.HasCrashed(): | 91 if failed.output.HasCrashed(): |
| 92 print "exit code: %d" % failed.output.exit_code |
| 92 print "--- CRASHED ---" | 93 print "--- CRASHED ---" |
| 93 if failed.output.HasTimedOut(): | 94 if failed.output.HasTimedOut(): |
| 94 print "--- TIMEOUT ---" | 95 print "--- TIMEOUT ---" |
| 95 if len(self.runner.failed) == 0: | 96 if len(self.runner.failed) == 0: |
| 96 print "===" | 97 print "===" |
| 97 print "=== All tests succeeded" | 98 print "=== All tests succeeded" |
| 98 print "===" | 99 print "===" |
| 99 else: | 100 else: |
| 100 print | 101 print |
| 101 print "===" | 102 print "===" |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 275 test.duration, | 276 test.duration, |
| 276 fail_text) | 277 fail_text) |
| 277 | 278 |
| 278 | 279 |
| 279 PROGRESS_INDICATORS = { | 280 PROGRESS_INDICATORS = { |
| 280 'verbose': VerboseProgressIndicator, | 281 'verbose': VerboseProgressIndicator, |
| 281 'dots': DotsProgressIndicator, | 282 'dots': DotsProgressIndicator, |
| 282 'color': ColorProgressIndicator, | 283 'color': ColorProgressIndicator, |
| 283 'mono': MonochromeProgressIndicator | 284 'mono': MonochromeProgressIndicator |
| 284 } | 285 } |
| OLD | NEW |