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

Unified Diff: test/copies/gyptest-updir.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/copies/gyptest-updir.py
diff --git a/test/copies/gyptest-updir.py b/test/copies/gyptest-updir.py
index 00b01c720ae817139350ec1520be38efd04d82b7..6b9e8e63d0f2bec05457a7fc107f678bbfec44e3 100755
--- a/test/copies/gyptest-updir.py
+++ b/test/copies/gyptest-updir.py
@@ -13,7 +13,10 @@ import TestGyp
# The Android build system doesn't allow output to go to arbitrary places.
test = TestGyp.TestGyp(formats=['!android'])
-test.run_gyp('copies-updir.gyp', chdir='src')
+test.run_gyp('copies-updir.gyp',
+ '-G', 'xcode_ninja_target_pattern=^copies_up$',
+ chdir='src')
+
test.relocate('src', 'relocate/src')
test.build('copies-updir.gyp', 'copies_up', chdir='relocate/src')

Powered by Google App Engine
This is Rietveld 408576698