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

Issue 421453003: Add TestGypXcodeNinja to run tests against the xcode-ninja generator (Closed)

Created:
6 years, 4 months ago by Tobias
Modified:
5 years, 12 months ago
CC:
gyp-developer_googlegroups.com
Base URL:
https://chromium.googlesource.com/external/gyp.git@master
Visibility:
Public.

Description

Add TestGypXcodeNinja to run tests against the xcode-ninja generator Use: ./gyptest.py -f xcode-ninja <tests> BUG=gyp:443 TEST=Run ./gyptest.py -f xcode-ninja -a Expected: No test failures. Patch by Tobias Hahn <tobias.hahn@ableton.com>;. R=mark@chromium.org, sdefresne@chromium.org, justincohen@chromium.org Committed: https://code.google.com/p/gyp/source/detail?r=2017

Patch Set 1 #

Patch Set 2 : Rebase onto master #

Patch Set 3 : Run all tests against xcode-ninja by default #

Patch Set 4 : Rebase onto origin/master #

Total comments: 41

Patch Set 5 : Address sdefresne's feedback #

Patch Set 6 : Rebase onto origin/master #

Patch Set 7 : Rebase onto origin/master #

Patch Set 8 : Rebase onto origin/master #

Patch Set 9 : Fix regyp tests when using the make generator #

Patch Set 10 : Rebase onto origin/master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+259 lines, -33 lines) Patch
M gyptest.py View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M test/actions-bare/gyptest-bare.py View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M test/actions-none/gyptest-none.py View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M test/actions/gyptest-all.py View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M test/actions/gyptest-default.py View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M test/additional-targets/gyptest-additional.py View 1 2 2 chunks +8 lines, -1 line 0 comments Download
M test/build-option/gyptest-build.py View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M test/compiler-override/gyptest-compiler-env.py View 1 2 3 4 5 2 chunks +3 lines, -2 lines 0 comments Download
M test/compiler-override/gyptest-compiler-env-toolchain.py View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M test/compiler-override/gyptest-compiler-global-settings.py View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M test/copies/gyptest-all.py View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M test/copies/gyptest-default.py View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M test/copies/gyptest-samedir.py View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M test/copies/gyptest-slash.py View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M test/copies/gyptest-updir.py View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M test/dependencies/gyptest-extra-targets.py View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M test/dependencies/gyptest-lib-only.py View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M test/generator-output/gyptest-actions.py View 1 2 3 4 1 chunk +5 lines, -1 line 0 comments Download
M test/generator-output/gyptest-copies.py View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M test/generator-output/gyptest-mac-bundle.py View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M test/generator-output/gyptest-relocate.py View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M test/generator-output/gyptest-rules.py View 1 2 3 4 1 chunk +5 lines, -1 line 0 comments Download
M test/generator-output/gyptest-subdir2-deep.py View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M test/generator-output/gyptest-symlink.py View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M test/generator-output/gyptest-top-all.py View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M test/gyp-defines/gyptest-multiple-values.py View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M test/intermediate_dir/gyptest-intermediate-dir.py View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M test/lib/TestGyp.py View 1 2 3 4 5 6 7 8 3 chunks +73 lines, -0 lines 0 comments Download
M test/mac/gyptest-action-envvars.py View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M test/mac/gyptest-app-error.py View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M test/mac/gyptest-archs.py View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M test/mac/gyptest-cflags.py View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M test/mac/gyptest-global-settings.py View 1 2 3 4 1 chunk +7 lines, -0 lines 0 comments Download
M test/mac/gyptest-installname.py View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M test/mac/gyptest-ldflags.py View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M test/mac/gyptest-ldflags-passed-to-libtool.py View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M test/mac/gyptest-libraries.py View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M test/mac/gyptest-loadable-module.py View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M test/mac/gyptest-loadable-module-bundle-product-extension.py View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M test/mac/gyptest-postbuild-copy-bundle.py View 1 2 1 chunk +1 line, -1 line 0 comments Download
M test/mac/gyptest-postbuild-fail.py View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M test/mac/gyptest-prefixheader.py View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M test/mac/gyptest-rpath.py View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M test/mac/gyptest-strip.py View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M test/mac/gyptest-type-envvars.py View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M test/make_global_settings/ar/gyptest-make_global_settings_ar.py View 1 2 3 chunks +4 lines, -4 lines 0 comments Download
M test/make_global_settings/full-toolchain/gyptest-make_global_settings.py View 1 2 3 4 5 2 chunks +3 lines, -2 lines 0 comments Download
M test/make_global_settings/ld/gyptest-make_global_settings_ld.py View 1 2 3 chunks +5 lines, -5 lines 0 comments Download
M test/many-actions/gyptest-many-actions-unsorted.py View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M test/ninja/action-rule-hash/gyptest-action-rule-hash.py View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M test/ninja/action_dependencies/gyptest-action-dependencies.py View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M test/ninja/chained-dependency/gyptest-chained-dependency.py View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M test/ninja/empty-and-non-empty-duplicate-name/gyptest-empty-and-non-empty-duplicate-name.py View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M test/no-cpp/gyptest-no-cpp.py View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M test/prune_targets/gyptest-prune-targets.py View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M test/rules-use-built-dependencies/gyptest-use-built-dependencies.py View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M test/rules/gyptest-all.py View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M test/rules/gyptest-default.py View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M test/rules/src/subdir4/build-asm.gyp View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M test/same-target-name-different-directory/gyptest-all.py View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M test/sibling/gyptest-all.py View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
M test/sibling/gyptest-relocate.py View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
M test/toplevel-dir/gyptest-toplevel-dir.py View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (1 generated)
sdefresne
+mark I think this LGTM but I don't know the test framework of gyp to ...
6 years, 4 months ago (2014-07-30 12:17:54 UTC) #1
Mark Mentovai
LGTM
6 years, 4 months ago (2014-07-30 13:21:05 UTC) #2
sdefresne
After pushing the two previous patches fixing the unit tests, I tried to run the ...
6 years, 4 months ago (2014-08-01 13:03:16 UTC) #3
Tobias
On 2014/08/01 13:03:16, sdefresne wrote: > After pushing the two previous patches fixing the unit ...
6 years, 4 months ago (2014-08-01 15:58:07 UTC) #4
Tobias
PTAL
6 years, 3 months ago (2014-08-28 14:56:33 UTC) #5
sdefresne
Please update the description too. https://codereview.chromium.org/421453003/diff/60001/test/build-option/gyptest-build.py File test/build-option/gyptest-build.py (right): https://codereview.chromium.org/421453003/diff/60001/test/build-option/gyptest-build.py#newcode23 test/build-option/gyptest-build.py:23: # The xcode-ninja generator ...
6 years, 3 months ago (2014-09-02 15:13:06 UTC) #6
Tobias
PTAL
6 years, 2 months ago (2014-10-02 18:18:53 UTC) #7
Tobias
PTAL https://codereview.chromium.org/421453003/diff/60001/test/build-option/gyptest-build.py File test/build-option/gyptest-build.py (right): https://codereview.chromium.org/421453003/diff/60001/test/build-option/gyptest-build.py#newcode23 test/build-option/gyptest-build.py:23: # The xcode-ninja generator doesn't support --build I'm ...
6 years, 2 months ago (2014-10-02 18:19:20 UTC) #8
sdefresne
lgtm
6 years ago (2014-12-03 16:12:34 UTC) #9
sdefresne
5 years, 12 months ago (2014-12-23 14:14:46 UTC) #11
Message was sent while issue was closed.
Committed patchset #10 (id:200001) manually as 2017 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698