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

Unified Diff: test/mac/gyptest-cflags.py

Issue 421453003: Add TestGypXcodeNinja to run tests against the xcode-ninja generator (Closed) Base URL: https://chromium.googlesource.com/external/gyp.git@master
Patch Set: Rebase onto origin/master Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: test/mac/gyptest-cflags.py
diff --git a/test/mac/gyptest-cflags.py b/test/mac/gyptest-cflags.py
index 7d24863df5d295ac45736ae05e6ff911325b7539..72430cad40e07a18de3bb03afd6fee7b121bb185 100644
--- a/test/mac/gyptest-cflags.py
+++ b/test/mac/gyptest-cflags.py
@@ -15,6 +15,9 @@ import sys
if sys.platform == 'darwin':
test = TestGyp.TestGyp(formats=['ninja', 'make', 'xcode'])
CHDIR = 'cflags'
- test.run_gyp('test.gyp', chdir=CHDIR)
+ test.run_gyp('test.gyp',
+ '-G', 'xcode_ninja_target_pattern=^.*$',
+ chdir=CHDIR)
+
test.build('test.gyp', test.ALL, chdir=CHDIR)
test.pass_test()

Powered by Google App Engine
This is Rietveld 408576698