Reviewers: tandrii,

Message:
:/

Description:
Fix test driver json output.

[email protected]

Please review this at https://codereview.chromium.org/716713002/

Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+1, -1 lines):
  M tools/testrunner/local/progress.py


Index: tools/testrunner/local/progress.py
diff --git a/tools/testrunner/local/progress.py b/tools/testrunner/local/progress.py index 84acebabe87fc3083dca1329ce4ea455d016805b..2616958c47887f4fa427627d57fde41ad36cb15b 100644
--- a/tools/testrunner/local/progress.py
+++ b/tools/testrunner/local/progress.py
@@ -333,7 +333,7 @@ class JsonTestProgressIndicator(ProgressIndicator):
       "stderr": test.output.stderr,
       "exit_code": test.output.exit_code,
       "result": test.suite.GetOutcome(test),
-      "expected": list(test.outcomes) or ["PASS"],
+      "expected": list(test.outcomes or ["PASS"]),
     })




--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to