Chromium Code Reviews| OLD | NEW |
|---|---|
| (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() | |
| OLD | NEW |