Reviewers: tandrii,

Message:
PTAL

Description:
Fix serialization of expected outcomes in test driver.

The outcomes are saved as a set and need to be converted into
a list to be json-serializable.

[email protected]

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

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 dcdf754be3c3cb8082208653d30b40e1fbddacaa..84acebabe87fc3083dca1329ce4ea455d016805b 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": 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