Index: test/mac/gyptest-xcuitest.py |
diff --git a/test/mac/gyptest-xctest.py b/test/mac/gyptest-xcuitest.py |
similarity index 74% |
copy from test/mac/gyptest-xctest.py |
copy to test/mac/gyptest-xcuitest.py |
index a46a5fb3db63211b97b3caa3ba9e91b4a105262b..4e6067e6f5392a8d7bc778cedc5d7e5f5364ed85 100644 |
--- a/test/mac/gyptest-xctest.py |
+++ b/test/mac/gyptest-xcuitest.py |
@@ -5,7 +5,7 @@ |
# found in the LICENSE file. |
""" |
-Verifies that xctest targets are correctly configured. |
+Verifies that xcuitest targets are correctly configured. |
""" |
import TestGyp |
@@ -26,13 +26,14 @@ if sys.platform == 'darwin': |
xcode_version, build_number = out.splitlines() |
# Convert the version string from 'Xcode 5.0' to ['5','0']. |
xcode_version = xcode_version.split()[-1].split('.') |
- if xcode_version < ['5']: |
+ if xcode_version < ['7']: |
test.pass_test() |
- CHDIR = 'xctest' |
+ CHDIR = 'xcuitest' |
test.run_gyp('test.gyp', chdir=CHDIR) |
- test.build('test.gyp', chdir=CHDIR, arguments=['-scheme', 'classes', 'test']) |
+ test.build('test.gyp', chdir=CHDIR, arguments=[ |
+ '-target', 'tests', |
+ '-sdk', 'iphonesimulator', |
+ ]) |
- test.built_file_must_match('tests.xctest/Contents/Resources/resource.txt', |
- 'foo\n', chdir=CHDIR) |
test.pass_test() |