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

Issue 257103002: Add --unexpected-failures flag to run_mojo_python_tests. (Closed)

Created:
6 years, 7 months ago by Dirk Pranke
Modified:
6 years, 7 months ago
Reviewers:
viettrungluu, sky
CC:
chromium-reviews, Aaron Boodman, darin (slow to review), viettrungluu+watch_chromium.org, ben+mojo_chromium.org, abarth-chromium
Visibility:
Public.

Description

Add --unexpected-failures flag to run_mojo_python_tests. In order to best run a suite of tests on the bots, we need to support printing out the list of tests that failed in an easily-machine-readable manner, and also support running just a subset of tests. This patch adds the --unexpected-failures flag to run_mojo_python_tests to write out, one test name per line, a list of failures (full details are listed in the usage for the script). It also adds the ability to just run a subset of tests. If we add any more complexity to this script we really need to write tests for it. R=sky@chromium.org BUG=364709 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266792

Patch Set 1 : patch for review #

Total comments: 6

Patch Set 2 : update w/ review feedback, merge to head #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -11 lines) Patch
M mojo/tools/run_mojo_python_tests.py View 1 2 chunks +45 lines, -11 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
Dirk Pranke
sorry for the delay on this; it took me a while to find the time ...
6 years, 7 months ago (2014-04-28 20:16:22 UTC) #1
sky
sky->viettrungluu, he actually understands Python where as I just complain about it.
6 years, 7 months ago (2014-04-28 20:42:54 UTC) #2
viettrungluu
LGTM w/minor comments. https://codereview.chromium.org/257103002/diff/40001/mojo/tools/run_mojo_python_tests.py File mojo/tools/run_mojo_python_tests.py (right): https://codereview.chromium.org/257103002/diff/40001/mojo/tools/run_mojo_python_tests.py#newcode1 mojo/tools/run_mojo_python_tests.py:1: #!/usr/bin/python I think we mostly use ...
6 years, 7 months ago (2014-04-28 21:17:20 UTC) #3
Dirk Pranke
https://codereview.chromium.org/257103002/diff/40001/mojo/tools/run_mojo_python_tests.py File mojo/tools/run_mojo_python_tests.py (right): https://codereview.chromium.org/257103002/diff/40001/mojo/tools/run_mojo_python_tests.py#newcode1 mojo/tools/run_mojo_python_tests.py:1: #!/usr/bin/python On 2014/04/28 21:17:20, viettrungluu wrote: > I think ...
6 years, 7 months ago (2014-04-28 21:20:27 UTC) #4
Dirk Pranke
6 years, 7 months ago (2014-04-28 21:25:14 UTC) #5
Dirk Pranke
The CQ bit was checked by dpranke@chromium.org
6 years, 7 months ago (2014-04-28 21:26:41 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dpranke@chromium.org/257103002/60001
6 years, 7 months ago (2014-04-28 21:27:59 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-28 21:31:46 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_gn_rel
6 years, 7 months ago (2014-04-28 21:31:46 UTC) #9
Dirk Pranke
The CQ bit was checked by dpranke@chromium.org
6 years, 7 months ago (2014-04-28 22:39:23 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dpranke@chromium.org/257103002/60001
6 years, 7 months ago (2014-04-28 22:41:19 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-28 23:31:45 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_chromeos_rel
6 years, 7 months ago (2014-04-28 23:31:45 UTC) #13
Dirk Pranke
The CQ bit was checked by dpranke@chromium.org
6 years, 7 months ago (2014-04-29 00:13:56 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dpranke@chromium.org/257103002/60001
6 years, 7 months ago (2014-04-29 00:16:22 UTC) #15
commit-bot: I haz the power
6 years, 7 months ago (2014-04-29 09:03:14 UTC) #16
Message was sent while issue was closed.
Change committed as 266792

Powered by Google App Engine
This is Rietveld 408576698