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

Unified Diff: test/compiler-override/gyptest-compiler-env-toolchain.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 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/compiler-override/gyptest-compiler-env-toolchain.py
diff --git a/test/compiler-override/gyptest-compiler-env-toolchain.py b/test/compiler-override/gyptest-compiler-env-toolchain.py
index c27be2420d32d719fe24650018f227044f1632b5..2361d0c7c2a4c406ad2b529356af00f7e3e0151a 100644
--- a/test/compiler-override/gyptest-compiler-env-toolchain.py
+++ b/test/compiler-override/gyptest-compiler-env-toolchain.py
@@ -44,7 +44,7 @@ test = TestGyp.TestGyp(formats=['ninja'])
# Note that we can't just pass format=['ninja-some_toolchain'] to the
# constructor above, because then this test wouldn't be recognized as a ninja
# format test.
-test.formats = ['ninja-some_flavor']
+test.formats = ['ninja-my_flavor' if f == 'ninja' else f for f in test.formats]
def TestTargetOverideSharedLib():
« no previous file with comments | « test/compiler-override/gyptest-compiler-env.py ('k') | test/compiler-override/gyptest-compiler-global-settings.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698