| 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 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 326 self.results.append({ | 326 self.results.append({ |
| 327 "name": test.GetLabel(), | 327 "name": test.GetLabel(), |
| 328 "flags": test.flags, | 328 "flags": test.flags, |
| 329 "command": EscapeCommand(self.runner.GetCommand(test)).replace( | 329 "command": EscapeCommand(self.runner.GetCommand(test)).replace( |
| 330 ABS_PATH_PREFIX, ""), | 330 ABS_PATH_PREFIX, ""), |
| 331 "run": test.run, | 331 "run": test.run, |
| 332 "stdout": test.output.stdout, | 332 "stdout": test.output.stdout, |
| 333 "stderr": test.output.stderr, | 333 "stderr": test.output.stderr, |
| 334 "exit_code": test.output.exit_code, | 334 "exit_code": test.output.exit_code, |
| 335 "result": test.suite.GetOutcome(test), | 335 "result": test.suite.GetOutcome(test), |
| 336 "expected": test.outcomes or ["PASS"], | 336 "expected": list(test.outcomes) or ["PASS"], |
| 337 }) | 337 }) |
| 338 | 338 |
| 339 | 339 |
| 340 PROGRESS_INDICATORS = { | 340 PROGRESS_INDICATORS = { |
| 341 'verbose': VerboseProgressIndicator, | 341 'verbose': VerboseProgressIndicator, |
| 342 'dots': DotsProgressIndicator, | 342 'dots': DotsProgressIndicator, |
| 343 'color': ColorProgressIndicator, | 343 'color': ColorProgressIndicator, |
| 344 'mono': MonochromeProgressIndicator | 344 'mono': MonochromeProgressIndicator |
| 345 } | 345 } |
| OLD | NEW |