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

Side by Side Diff: test/ios/xctests/gyptest-xctests.py

Issue 1410113002: Make ninja work with XCTests for iOS. (Closed) Base URL: https://chromium.googlesource.com/external/gyp@master
Patch Set: Created 5 years, 2 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 unified diff | Download patch
« no previous file with comments | « test/ios/xctests/AppTests/Info.plist ('k') | test/ios/xctests/xctests.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/usr/bin/env python
2
3 # Copyright (c) 2015 Google Inc. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file.
6
7 import TestGyp
8
9 """
10 Verifies that iOS XCTests can be built correctly.
11 """
12
Nico 2015/10/16 20:18:57 you probably want an if sys.platform == 'darwin':
baxley 2015/10/16 20:59:19 Done.
13 #test = TestGyp.TestGyp(formats=['ninja'])
Nico 2015/10/16 20:18:57 remove
baxley 2015/10/16 20:59:20 Done.
14 test = TestGyp.TestGyp(formats=['xcode', 'ninja'])
15 #test.formats = ['ninja', 'xcode-ninja']
Nico 2015/10/16 20:18:57 remove
baxley 2015/10/16 20:59:20 Done.
16
17 test.run_gyp('xctests.gyp')
18
19 test.build('xctests.gyp', test.ALL)
20
21 test.built_file_must_exist('XCTest App.app/XCTest App')
22
23 test.built_file_must_exist('app_tests.xctest/app_tests')
24
25 test.built_file_must_exist('obj/AppTests/app_tests.AppTests.i386.o')
26
27 test.built_file_must_exist('obj/AppTests/app_tests.AppTests.x86_64.o')
28
29 test.pass_test()
OLDNEW
« no previous file with comments | « test/ios/xctests/AppTests/Info.plist ('k') | test/ios/xctests/xctests.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698