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

Unified Diff: test/actions/gyptest-all.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/actions/gyptest-all.py
diff --git a/test/actions/gyptest-all.py b/test/actions/gyptest-all.py
index 705fec4b5fdb7d2bb7bd16f81ab768fad2a22218..7ed435aba37578ba9b727a0ea9cf45ad4a37fec4 100755
--- a/test/actions/gyptest-all.py
+++ b/test/actions/gyptest-all.py
@@ -14,7 +14,9 @@ import TestGyp
test = TestGyp.TestGyp(workdir='workarea_all')
-test.run_gyp('actions.gyp', chdir='src')
+test.run_gyp('actions.gyp',
+ '-G', 'xcode_ninja_target_pattern=^.*$',
+ chdir='src')
test.relocate('src', 'relocate/src')
@@ -23,7 +25,7 @@ test.relocate('src', 'relocate/src')
# doesn't mesh well with ninja's semantics. TODO(evan): figure out
# how to work always-run actions in to ninja.
# Android also can't do this as it doesn't have order-only dependencies.
-if test.format in ['ninja', 'android']:
+if test.format in ['ninja', 'android', 'xcode-ninja']:
test.build('actions.gyp', test.ALL, chdir='relocate/src')
else:
# Test that an "always run" action increases a counter on multiple

Powered by Google App Engine
This is Rietveld 408576698