Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 #!/usr/bin/env python | |
| 2 | |
| 3 # Copyright (c) 2012 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 """ | |
| 8 Verifies that ios app bundles are built correctly. | |
| 9 """ | |
| 10 | |
| 11 import TestGyp | |
| 12 import TestMac | |
| 13 | |
| 14 import sys | |
| 15 if sys.platform == 'darwin' and TestMac.Xcode.Version()>="0600": | |
| 16 test = TestGyp.TestGyp(formats=['ninja']) | |
|
justincohen
2014/07/07 16:21:42
Don't we want to test xcode too?
olivierrobin
2014/07/08 09:48:18
We cannot test xcode because xcode compilation of
| |
| 17 | |
| 18 test.run_gyp('extension.gyp', chdir='extension') | |
| 19 | |
| 20 test.build('extension.gyp', 'ExtensionContainer', chdir='extension') | |
| 21 | |
| 22 # Test that the extension is .bundle | |
| 23 test.built_file_must_exist( | |
| 24 'ExtensionContainer.app/PlugIns/ActionExtension.appex', | |
| 25 chdir='extension') | |
| 26 | |
| 27 test.pass_test() | |
| 28 | |
| OLD | NEW |