Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(151)

Side by Side Diff: tools/testrunner/local/progress.py

Issue 716713002: Fix test driver json output. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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": list(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 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698