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

Issue 1841193002: 🍬 GN: Make breakpad_unittests & sandbox_linux_unittests use test() (Closed)

Created:
4 years, 8 months ago by agrieve
Modified:
4 years, 8 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@test-minor-renames
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

GN: Make breakpad_unittests & sandbox_linux_unittests use test() This simplifies build rules for native tests, and allows us to get rid of ${target}_deps targets (once recipes are updated). This change fixes the generated wrapper scripts, which didn't work. BUG=589318 Committed: https://crrev.com/638c8c12c9cd5086d4ba8704852cb1167e7b4ae9 Cr-Commit-Position: refs/heads/master@{#384348}

Patch Set 1 #

Total comments: 4

Patch Set 2 : comments 1 #

Patch Set 3 : fix bad merge #

Patch Set 4 : Test runner, backwards-compat with recipes, added sandbox_linux_unittests #

Total comments: 5

Patch Set 5 : defined->define #

Total comments: 4

Patch Set 6 : remove extra exe_path assignment #

Patch Set 7 : fix bot failure #

Patch Set 8 : Remove duplicate _run target #

Unified diffs Side-by-side diffs Delta from patch set Stats (+174 lines, -197 lines) Patch
M BUILD.gn View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M breakpad/BUILD.gn View 1 2 3 3 chunks +3 lines, -26 lines 0 comments Download
M build/android/pylib/gtest/gtest_test_instance.py View 1 2 3 4 5 6 2 chunks +23 lines, -4 lines 0 comments Download
M build/android/test_runner.py View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M build/config/android/internal_rules.gni View 1 2 3 4 1 chunk +15 lines, -5 lines 0 comments Download
M build/config/android/rules.gni View 2 chunks +15 lines, -31 lines 0 comments Download
M sandbox/linux/BUILD.gn View 1 2 3 4 5 6 7 2 chunks +6 lines, -37 lines 0 comments Download
M testing/test.gni View 1 2 3 1 chunk +109 lines, -93 lines 0 comments Download

Messages

Total messages: 36 (14 generated)
agrieve
mark@chromium.org: Please review changes in //breakpad dpranke@chromium.org: Please review changes in //everywhere else
4 years, 8 months ago (2016-03-29 20:35:41 UTC) #2
Dirk Pranke
lgtm w/ a couple of nits. https://codereview.chromium.org/1841193002/diff/1/testing/test.gni File testing/test.gni (right): https://codereview.chromium.org/1841193002/diff/1/testing/test.gni#newcode114 testing/test.gni:114: # pacakges to ...
4 years, 8 months ago (2016-03-29 20:57:13 UTC) #3
agrieve
https://codereview.chromium.org/1841193002/diff/1/testing/test.gni File testing/test.gni (right): https://codereview.chromium.org/1841193002/diff/1/testing/test.gni#newcode114 testing/test.gni:114: # pacakges to still produce unique runner scripts. On ...
4 years, 8 months ago (2016-03-30 14:17:25 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1841193002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1841193002/40001
4 years, 8 months ago (2016-03-30 15:22:45 UTC) #6
agrieve
On 2016/03/30 15:22:45, commit-bot: I haz the power wrote: > Dry run: CQ is trying ...
4 years, 8 months ago (2016-03-30 15:52:10 UTC) #7
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_chromium_gn_compile_rel/builds/42675)
4 years, 8 months ago (2016-03-30 15:53:01 UTC) #9
agrieve
jorgelo@chromium.org: Please review changes in //sandbox jbudorick@chromium.org: Please review changes to //build
4 years, 8 months ago (2016-03-30 19:18:32 UTC) #11
jbudorick
https://codereview.chromium.org/1841193002/diff/60001/build/android/pylib/gtest/gtest_test_instance.py File build/android/pylib/gtest/gtest_test_instance.py (right): https://codereview.chromium.org/1841193002/diff/60001/build/android/pylib/gtest/gtest_test_instance.py#newcode153 build/android/pylib/gtest/gtest_test_instance.py:153: # TODO(agrieve): Remove hardcoding after recipes are updated. :( ...
4 years, 8 months ago (2016-03-30 19:33:38 UTC) #13
Mark Mentovai
This is a stamp LGTM. I don’t actually know what any of this means.
4 years, 8 months ago (2016-03-30 19:45:24 UTC) #14
agrieve
https://codereview.chromium.org/1841193002/diff/60001/build/android/pylib/gtest/gtest_test_instance.py File build/android/pylib/gtest/gtest_test_instance.py (right): https://codereview.chromium.org/1841193002/diff/60001/build/android/pylib/gtest/gtest_test_instance.py#newcode153 build/android/pylib/gtest/gtest_test_instance.py:153: # TODO(agrieve): Remove hardcoding after recipes are updated. On ...
4 years, 8 months ago (2016-03-30 19:52:57 UTC) #15
jbudorick
https://codereview.chromium.org/1841193002/diff/60001/build/android/pylib/gtest/gtest_test_instance.py File build/android/pylib/gtest/gtest_test_instance.py (right): https://codereview.chromium.org/1841193002/diff/60001/build/android/pylib/gtest/gtest_test_instance.py#newcode153 build/android/pylib/gtest/gtest_test_instance.py:153: # TODO(agrieve): Remove hardcoding after recipes are updated. On ...
4 years, 8 months ago (2016-03-30 19:55:22 UTC) #16
Jorge Lucangeli Obes
Not quite sure what this is doing, but assuming this doesn't change behaviour, and all ...
4 years, 8 months ago (2016-03-30 20:05:52 UTC) #17
jbudorick
after discussion offline, build/ lgtm w/ question https://codereview.chromium.org/1841193002/diff/80001/build/android/pylib/gtest/gtest_test_instance.py File build/android/pylib/gtest/gtest_test_instance.py (right): https://codereview.chromium.org/1841193002/diff/80001/build/android/pylib/gtest/gtest_test_instance.py#newcode147 build/android/pylib/gtest/gtest_test_instance.py:147: self._exe_path = ...
4 years, 8 months ago (2016-03-31 01:00:31 UTC) #18
agrieve
https://codereview.chromium.org/1841193002/diff/80001/build/android/pylib/gtest/gtest_test_instance.py File build/android/pylib/gtest/gtest_test_instance.py (right): https://codereview.chromium.org/1841193002/diff/80001/build/android/pylib/gtest/gtest_test_instance.py#newcode147 build/android/pylib/gtest/gtest_test_instance.py:147: self._exe_path = args.executable_path On 2016/03/31 01:00:31, jbudorick wrote: > ...
4 years, 8 months ago (2016-03-31 01:34:04 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1841193002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1841193002/120001
4 years, 8 months ago (2016-03-31 15:41:00 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_chromeos_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_chromeos_rel/builds/164656)
4 years, 8 months ago (2016-03-31 15:52:48 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1841193002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1841193002/140001
4 years, 8 months ago (2016-03-31 17:05:46 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_chromium_gn_compile_rel/builds/43440)
4 years, 8 months ago (2016-03-31 17:17:32 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1841193002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1841193002/140001
4 years, 8 months ago (2016-03-31 18:27:17 UTC) #31
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 8 months ago (2016-03-31 18:53:02 UTC) #33
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/638c8c12c9cd5086d4ba8704852cb1167e7b4ae9 Cr-Commit-Position: refs/heads/master@{#384348}
4 years, 8 months ago (2016-03-31 18:54:06 UTC) #35
jbudorick
4 years, 8 months ago (2016-04-01 13:36:26 UTC) #36
Message was sent while issue was closed.
A revert of this CL (patchset #8 id:140001) has been created in
https://codereview.chromium.org/1848033005/ by jbudorick@chromium.org.

The reason for reverting is: breaks both suites on GN, e.g.
https://build.chromium.org/p/chromium.android/builders/Lollipop%20Phone%20Tester.

Powered by Google App Engine
This is Rietveld 408576698