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

Issue 117113003: GTTF: add an option to pass test filter using a file (Closed)

Created:
7 years ago by Paweł Hajdan Jr.
Modified:
7 years ago
Reviewers:
sky
CC:
chromium-reviews, erikwright+watch_chromium.org
Visibility:
Public.

Description

GTTF: add an option to pass test filter using a file This is useful when --gtest_filter on the command line would exceed command line length limits. This will be used with chromium_trybot recipe to pass a list of tests to retry after deapplying the patch. BUG=236893, 44497 R=sky@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=241833

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -59 lines) Patch
M base/test/launcher/test_launcher.h View 1 chunk +3 lines, -3 lines 0 comments Download
M base/test/launcher/test_launcher.cc View 4 chunks +63 lines, -56 lines 3 comments Download
M base/test/test_switches.h View 1 chunk +1 line, -0 lines 0 comments Download
M base/test/test_switches.cc View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Paweł Hajdan Jr.
7 years ago (2013-12-18 07:42:46 UTC) #1
sky
https://codereview.chromium.org/117113003/diff/1/base/test/launcher/test_launcher.cc File base/test/launcher/test_launcher.cc (right): https://codereview.chromium.org/117113003/diff/1/base/test/launcher/test_launcher.cc#newcode674 base/test/launcher/test_launcher.cc:674: // Split --gtest_filter at '-', if there is one, ...
7 years ago (2013-12-18 17:19:58 UTC) #2
Paweł Hajdan Jr.
https://codereview.chromium.org/117113003/diff/1/base/test/launcher/test_launcher.cc File base/test/launcher/test_launcher.cc (right): https://codereview.chromium.org/117113003/diff/1/base/test/launcher/test_launcher.cc#newcode674 base/test/launcher/test_launcher.cc:674: // Split --gtest_filter at '-', if there is one, ...
7 years ago (2013-12-18 17:50:30 UTC) #3
sky
LGTM https://codereview.chromium.org/117113003/diff/1/base/test/launcher/test_launcher.cc File base/test/launcher/test_launcher.cc (right): https://codereview.chromium.org/117113003/diff/1/base/test/launcher/test_launcher.cc#newcode674 base/test/launcher/test_launcher.cc:674: // Split --gtest_filter at '-', if there is ...
7 years ago (2013-12-18 21:48:42 UTC) #4
sky
On 2013/12/18 21:48:42, sky wrote: > LGTM > > https://codereview.chromium.org/117113003/diff/1/base/test/launcher/test_launcher.cc > File base/test/launcher/test_launcher.cc (right): > ...
7 years ago (2013-12-18 21:49:10 UTC) #5
Paweł Hajdan Jr.
Committed patchset #1 manually as r241833 (presubmit successful).
7 years ago (2013-12-19 10:00:00 UTC) #6
Paweł Hajdan Jr.
On 2013/12/18 21:49:10, sky wrote: > I meant: > Test.Positive1:Test.Positive2:-Test.Negative1:Test.Negative2:-Test.Native2 Sorry, it's not obvious to ...
7 years ago (2013-12-19 10:02:07 UTC) #7
sky
7 years ago (2013-12-19 16:42:12 UTC) #8
I was fine with you landing, hence the LGTM. I was only commenting
that I thought you needed to use the minus for each test you wanted to
exclude. The docs for gclient weren't really clear on this point. I
didn't try looking in the source.

On Thu, Dec 19, 2013 at 2:02 AM,  <phajdan.jr@chromium.org> wrote:
> On 2013/12/18 21:49:10, sky wrote:
>>
>> I meant:
>> Test.Positive1:Test.Positive2:-Test.Negative1:Test.Negative2:-Test.Native2
>
>
> Sorry, it's not obvious to me what that would be expected to do. Feel free
> to
> explain more - please also take a look at
>
https://code.google.com/p/googletest/wiki/AdvancedGuide#Running_a_Subset_of_t...
> , but maybe I'm just missing something.
>
> https://codereview.chromium.org/117113003/

To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698