Fix results_organizer_unittest.py
Now that multiple iters inside a single run all report the correct
pass/fail status, update the unittest to reflect that (is has been
broken now for about a month).
BUG=chromium:723807
TEST=ran unittest with fix and it passes now.
Change-Id: Ie92034bbf073b73ce820f28c238f99192840197f
Reviewed-on: https://chromium-review.googlesource.com/508277
Commit-Ready: Caroline Tice <cmtice@chromium.org>
Tested-by: Caroline Tice <cmtice@chromium.org>
Reviewed-by: Manoj Gupta <manojgupta@chromium.org>
diff --git a/crosperf/results_organizer_unittest.py b/crosperf/results_organizer_unittest.py
index 25783a6..e765737 100755
--- a/crosperf/results_organizer_unittest.py
+++ b/crosperf/results_organizer_unittest.py
@@ -29,8 +29,10 @@
'ms_1': '2.1',
'total': '5'
}, {
+ '': 'PASS',
'test': '2'
}, {
+ '': 'PASS',
'test': '4'
}, {
'': 'PASS',
@@ -40,8 +42,10 @@
'ms_1': '2.2',
'total': '6'
}, {
+ '': 'PASS',
'test': '3'
}, {
+ '': 'PASS',
'test': '4'
}], [{
'': 'PASS',
@@ -51,8 +55,10 @@
'ms_1': '2.23',
'total': '6'
}, {
+ '': 'PASS',
'test': '5'
}, {
+ '': 'PASS',
'test': '4'
}, {
'': 'PASS',
@@ -62,8 +68,10 @@
'ms_1': '2.3',
'total': '7'
}, {
+ '': 'PASS',
'test': '2'
}, {
+ '': 'PASS',
'test': '6'
}]],
'benchmark2': [[{
@@ -74,8 +82,10 @@
'ms_1': '2.3',
'total': '7'
}, {
+ '': 'PASS',
'test': '2'
}, {
+ '': 'PASS',
'test': '6'
}, {
'': 'PASS',
@@ -85,8 +95,10 @@
'ms_1': '2.2',
'total': '7'
}, {
+ '': 'PASS',
'test': '2'
}, {
+ '': 'PASS',
'test': '2'
}], [{
'': 'PASS',
@@ -96,8 +108,10 @@
'ms_1': '2',
'total': '7'
}, {
+ '': 'PASS',
'test': '2'
}, {
+ '': 'PASS',
'test': '4'
}, {
'': 'PASS',
@@ -107,8 +121,10 @@
'ms_1': '1',
'total': '7'
}, {
+ '': 'PASS',
'test': '1'
}, {
+ '': 'PASS',
'test': '6'
}]]
}