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

Issue 1382713003: [GN] Add a template which wraps generate_test_lists.py. (Closed)

Created:
5 years, 2 months ago by slan
Modified:
5 years, 2 months ago
CC:
chromium-reviews, gunsch+watch_chromium.org, halliwell+watch_chromium.org, lcwu+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[GN] Add a template which wraps generate_test_lists.py. generate_test_lists.py is currently our solution for building and running tests in an automated fashion. This CL adds a GN target, cast_test_lists, which, when invoked, generates lists of tests to be built and run. Bug: b/23533616 BUG=516899 Committed: https://crrev.com/87db9d1c44344e7cff12e75214d71de8966f6014 Cr-Commit-Position: refs/heads/master@{#352412}

Patch Set 1 #

Total comments: 22

Patch Set 2 : Corrected target typos, added checking for tests, clarified comments #

Total comments: 2

Patch Set 3 : Ordering nit #

Patch Set 4 : Add option to build all tests when cast_test_group_list is invoked. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+416 lines, -14 lines) Patch
M chromecast/BUILD.gn View 1 2 3 2 chunks +109 lines, -8 lines 0 comments Download
M chromecast/browser/BUILD.gn View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
A chromecast/build/tests/cast_test.gni View 1 2 3 1 chunk +294 lines, -0 lines 0 comments Download
M chromecast/chromecast.gni View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M chromecast/chromecast_tests.gypi View 5 chunks +4 lines, -5 lines 0 comments Download
M chromecast/media/audio/cast_audio_output_stream_unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 19 (3 generated)
slan
Though I don't love this script, I want to make sure that the builds are ...
5 years, 2 months ago (2015-10-01 00:49:31 UTC) #2
alokp
https://chromiumcodereview.appspot.com/1382713003/diff/1/chromecast/BUILD.gn File chromecast/BUILD.gn (right): https://chromiumcodereview.appspot.com/1382713003/diff/1/chromecast/BUILD.gn#newcode38 chromecast/BUILD.gn:38: cast_test_group("cast_tests") { If both of these templates are only ...
5 years, 2 months ago (2015-10-01 13:13:46 UTC) #3
slan
https://chromiumcodereview.appspot.com/1382713003/diff/1/chromecast/BUILD.gn File chromecast/BUILD.gn (right): https://chromiumcodereview.appspot.com/1382713003/diff/1/chromecast/BUILD.gn#newcode38 chromecast/BUILD.gn:38: cast_test_group("cast_tests") { On 2015/10/01 13:13:46, Alok Priyadarshi wrote: > ...
5 years, 2 months ago (2015-10-01 14:08:56 UTC) #4
mbjorge
https://chromiumcodereview.appspot.com/1382713003/diff/1/chromecast/BUILD.gn File chromecast/BUILD.gn (right): https://chromiumcodereview.appspot.com/1382713003/diff/1/chromecast/BUILD.gn#newcode37 chromecast/BUILD.gn:37: # cannot be built directly. Can you add a ...
5 years, 2 months ago (2015-10-01 17:11:40 UTC) #5
slan
https://chromiumcodereview.appspot.com/1382713003/diff/1/chromecast/BUILD.gn File chromecast/BUILD.gn (right): https://chromiumcodereview.appspot.com/1382713003/diff/1/chromecast/BUILD.gn#newcode37 chromecast/BUILD.gn:37: # cannot be built directly. On 2015/10/01 17:11:40, mbjorge ...
5 years, 2 months ago (2015-10-01 20:08:03 UTC) #6
derekjchow1
https://chromiumcodereview.appspot.com/1382713003/diff/20001/chromecast/BUILD.gn File chromecast/BUILD.gn (right): https://chromiumcodereview.appspot.com/1382713003/diff/20001/chromecast/BUILD.gn#newcode106 chromecast/BUILD.gn:106: } else if (target_os == "android" || target_cpu != ...
5 years, 2 months ago (2015-10-01 20:16:35 UTC) #7
slan
https://chromiumcodereview.appspot.com/1382713003/diff/20001/chromecast/BUILD.gn File chromecast/BUILD.gn (right): https://chromiumcodereview.appspot.com/1382713003/diff/20001/chromecast/BUILD.gn#newcode106 chromecast/BUILD.gn:106: } else if (target_os == "android" || target_cpu != ...
5 years, 2 months ago (2015-10-01 20:19:39 UTC) #8
mbjorge
lgtm
5 years, 2 months ago (2015-10-01 20:59:54 UTC) #9
slan
Ping for feedback! This feature is the only blocker for automated testing on GN. Thanks,
5 years, 2 months ago (2015-10-02 22:34:29 UTC) #10
derekjchow1
lgtm
5 years, 2 months ago (2015-10-02 23:01:59 UTC) #11
halliwell
On 2015/10/02 23:01:59, derekjchow1 wrote: > lgtm rs-lgtm
5 years, 2 months ago (2015-10-02 23:13:41 UTC) #12
alokp
lgtm
5 years, 2 months ago (2015-10-02 23:58:19 UTC) #13
slan
The most recent patch: - rebases - fixes a bug in a unittest - Adds ...
5 years, 2 months ago (2015-10-05 18:56:20 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1382713003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1382713003/60001
5 years, 2 months ago (2015-10-05 18:57:33 UTC) #17
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 2 months ago (2015-10-05 20:37:54 UTC) #18
commit-bot: I haz the power
5 years, 2 months ago (2015-10-05 20:39:20 UTC) #19
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/87db9d1c44344e7cff12e75214d71de8966f6014
Cr-Commit-Position: refs/heads/master@{#352412}

Powered by Google App Engine
This is Rietveld 408576698