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

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

Issue 1160773005: Support for Swift language and Clang modules for ninja generator. Base URL: https://chromium.googlesource.com/external/gyp@master
Patch Set: Fixed rare build failure when compiling with modules for multiple archs Created 5 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
« no previous file with comments | « test/ios/swift/test.gyp ('k') | test/mac/swift/AppDelegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mac/gyptest-swift.py
diff --git a/test/linux/gyptest-ldflags-duplicates.py b/test/mac/gyptest-swift.py
similarity index 51%
copy from test/linux/gyptest-ldflags-duplicates.py
copy to test/mac/gyptest-swift.py
index 43a4607adf9f7b704f8014b97235457b5c254358..6541160ca1cc6eedc1e3b91b2f22c1a193969daa 100644
--- a/test/linux/gyptest-ldflags-duplicates.py
+++ b/test/mac/gyptest-swift.py
@@ -5,18 +5,18 @@
# found in the LICENSE file.
"""
-Verifies duplicate ldflags are not removed.
+Verifies that a swift framework builds correctly.
"""
import TestGyp
import sys
-if sys.platform.startswith('linux'):
- test = TestGyp.TestGyp()
+if sys.platform == 'darwin':
+ test = TestGyp.TestGyp(formats=['ninja', 'xcode'])
- CHDIR = 'ldflags-duplicates'
- test.run_gyp('test.gyp', chdir=CHDIR)
- test.build('test.gyp', chdir=CHDIR)
+ test.run_gyp('test.gyp', chdir='swift')
+
+ test.build('test.gyp', test.ALL, chdir='swift')
test.pass_test()
« no previous file with comments | « test/ios/swift/test.gyp ('k') | test/mac/swift/AppDelegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698