aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaroline Tice <cmtice@google.com>2017-05-17 13:59:40 -0700
committerchrome-bot <chrome-bot@chromium.org>2017-05-17 18:08:40 -0700
commit647f97831373993c1e67e8669a70e46d4c70fd4c (patch)
treec64df1199ace00fe864dca48d86fd75799004c9a
parent1282e84957a440f18a446888683d0aefb38a5a46 (diff)
downloadtoolchain-utils-647f97831373993c1e67e8669a70e46d4c70fd4c.tar.gz
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>
-rwxr-xr-xcrosperf/results_organizer_unittest.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/crosperf/results_organizer_unittest.py b/crosperf/results_organizer_unittest.py
index 25783a65..e7657373 100755
--- a/crosperf/results_organizer_unittest.py
+++ b/crosperf/results_organizer_unittest.py
@@ -29,8 +29,10 @@ result = {
'ms_1': '2.1',
'total': '5'
}, {
+ '': 'PASS',
'test': '2'
}, {
+ '': 'PASS',
'test': '4'
}, {
'': 'PASS',
@@ -40,8 +42,10 @@ result = {
'ms_1': '2.2',
'total': '6'
}, {
+ '': 'PASS',
'test': '3'
}, {
+ '': 'PASS',
'test': '4'
}], [{
'': 'PASS',
@@ -51,8 +55,10 @@ result = {
'ms_1': '2.23',
'total': '6'
}, {
+ '': 'PASS',
'test': '5'
}, {
+ '': 'PASS',
'test': '4'
}, {
'': 'PASS',
@@ -62,8 +68,10 @@ result = {
'ms_1': '2.3',
'total': '7'
}, {
+ '': 'PASS',
'test': '2'
}, {
+ '': 'PASS',
'test': '6'
}]],
'benchmark2': [[{
@@ -74,8 +82,10 @@ result = {
'ms_1': '2.3',
'total': '7'
}, {
+ '': 'PASS',
'test': '2'
}, {
+ '': 'PASS',
'test': '6'
}, {
'': 'PASS',
@@ -85,8 +95,10 @@ result = {
'ms_1': '2.2',
'total': '7'
}, {
+ '': 'PASS',
'test': '2'
}, {
+ '': 'PASS',
'test': '2'
}], [{
'': 'PASS',
@@ -96,8 +108,10 @@ result = {
'ms_1': '2',
'total': '7'
}, {
+ '': 'PASS',
'test': '2'
}, {
+ '': 'PASS',
'test': '4'
}, {
'': 'PASS',
@@ -107,8 +121,10 @@ result = {
'ms_1': '1',
'total': '7'
}, {
+ '': 'PASS',
'test': '1'
}, {
+ '': 'PASS',
'test': '6'
}]]
}