Index: test/ios/xctests/gyptest-xctests.py |
diff --git a/test/ios/xctests/gyptest-xctests.py b/test/ios/xctests/gyptest-xctests.py |
new file mode 100644 |
index 0000000000000000000000000000000000000000..16752c5002eda1676e4d0c03aa557340a487b14b |
--- /dev/null |
+++ b/test/ios/xctests/gyptest-xctests.py |
@@ -0,0 +1,29 @@ |
+#!/usr/bin/env python |
+ |
+# Copyright (c) 2015 Google Inc. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+import TestGyp |
+ |
+""" |
+Verifies that iOS XCTests can be built correctly. |
+""" |
+ |
Nico
2015/10/16 20:18:57
you probably want an
if sys.platform == 'darwin':
baxley
2015/10/16 20:59:19
Done.
|
+#test = TestGyp.TestGyp(formats=['ninja']) |
Nico
2015/10/16 20:18:57
remove
baxley
2015/10/16 20:59:20
Done.
|
+test = TestGyp.TestGyp(formats=['xcode', 'ninja']) |
+#test.formats = ['ninja', 'xcode-ninja'] |
Nico
2015/10/16 20:18:57
remove
baxley
2015/10/16 20:59:20
Done.
|
+ |
+test.run_gyp('xctests.gyp') |
+ |
+test.build('xctests.gyp', test.ALL) |
+ |
+test.built_file_must_exist('XCTest App.app/XCTest App') |
+ |
+test.built_file_must_exist('app_tests.xctest/app_tests') |
+ |
+test.built_file_must_exist('obj/AppTests/app_tests.AppTests.i386.o') |
+ |
+test.built_file_must_exist('obj/AppTests/app_tests.AppTests.x86_64.o') |
+ |
+test.pass_test() |