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

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

Issue 1887703004: Fix header map nextPowerOf2 method. (Closed) Base URL: https://chromium.googlesource.com/external/gyp.git@master
Patch Set: Add comment Created 4 years, 8 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/framework/iOSFramework/iOSFramework.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 2
3 # Copyright 2016 Google Inc. All rights reserved. 3 # Copyright 2016 Google Inc. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 """ 7 """
8 Verifies that ios app frameworks are built correctly. 8 Verifies that ios app frameworks are built correctly.
9 """ 9 """
10 10
11 import TestGyp 11 import TestGyp
12 import TestMac 12 import TestMac
13 import subprocess 13 import subprocess
14 import sys 14 import sys
15 15
16 if sys.platform == 'darwin' and TestMac.Xcode.Version()>="0700": 16 if sys.platform == 'darwin' and TestMac.Xcode.Version()>="0700":
17 17
18 test = TestGyp.TestGyp(formats=['ninja']) 18 test = TestGyp.TestGyp(formats=['ninja'])
19 if test.format == 'xcode-ninja': 19 if test.format == 'xcode-ninja':
20 test.skip_test() 20 test.skip_test()
21 21
22 test.run_gyp('framework.gyp', chdir='framework') 22 test.run_gyp('framework.gyp', chdir='framework')
23 23
24 test.build('framework.gyp', 'iOSFramework', chdir='framework') 24 test.build('framework.gyp', 'iOSFramework', chdir='framework')
25 25
26 test.built_file_must_exist( 26 test.built_file_must_exist(
27 'iOSFramework.framework/Headers/iOSFramework.h', 27 'iOSFramework.framework/Headers/iOSFramework.h',
28 chdir='framework') 28 chdir='framework')
29 test.built_file_must_exist( 29 test.built_file_must_exist(
30 'iOSFramework.framework/Headers/Thing.h',
31 chdir='framework')
32 test.built_file_must_exist(
30 'iOSFramework.framework/iOSFramework', 33 'iOSFramework.framework/iOSFramework',
31 chdir='framework') 34 chdir='framework')
32 35
33 test.pass_test() 36 test.pass_test()
34 37
OLDNEW
« no previous file with comments | « test/ios/framework/iOSFramework/iOSFramework.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698