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

Side by Side Diff: test/mac/gyptest-ldflags.py

Issue 421453003: Add TestGypXcodeNinja to run tests against the xcode-ninja generator (Closed) Base URL: https://chromium.googlesource.com/external/gyp.git@master
Patch Set: Rebase onto origin/master Created 6 years 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/mac/gyptest-installname.py ('k') | test/mac/gyptest-ldflags-passed-to-libtool.py » ('j') | 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 (c) 2012 Google Inc. All rights reserved. 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 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 filenames passed to various linker flags are converted into 8 Verifies that filenames passed to various linker flags are converted into
9 build-directory relative paths correctly. 9 build-directory relative paths correctly.
10 """ 10 """
11 11
12 import TestGyp 12 import TestGyp
13 13
14 import sys 14 import sys
15 15
16 if sys.platform == 'darwin': 16 if sys.platform == 'darwin':
17 test = TestGyp.TestGyp(formats=['ninja', 'make', 'xcode']) 17 test = TestGyp.TestGyp(formats=['ninja', 'make', 'xcode'])
18 18
19 # The xcode-ninja generator handles gypfiles which are not at the
20 # project root incorrectly.
21 # cf. https://code.google.com/p/gyp/issues/detail?id=460
22 if test.format == 'xcode-ninja':
23 test.skip_test()
24
19 CHDIR = 'ldflags' 25 CHDIR = 'ldflags'
20 test.run_gyp('subdirectory/test.gyp', chdir=CHDIR) 26 test.run_gyp('subdirectory/test.gyp', chdir=CHDIR)
21 27
22 test.build('subdirectory/test.gyp', test.ALL, chdir=CHDIR) 28 test.build('subdirectory/test.gyp', test.ALL, chdir=CHDIR)
23 29
24 test.pass_test() 30 test.pass_test()
25 31
26 32
27 # These flags from `man ld` couldl show up in OTHER_LDFLAGS and need path 33 # These flags from `man ld` couldl show up in OTHER_LDFLAGS and need path
28 # translation. 34 # translation.
(...skipping 30 matching lines...) Expand all
59 # 65 #
60 # obsolete: 66 # obsolete:
61 # -sectorder segname sectname orderfile 67 # -sectorder segname sectname orderfile
62 # -seg_addr_table_filename path 68 # -seg_addr_table_filename path
63 # 69 #
64 # 70 #
65 # ??: 71 # ??:
66 # -map map_file_path 72 # -map map_file_path
67 # -sub_library library_name 73 # -sub_library library_name
68 # -sub_umbrella framework_name 74 # -sub_umbrella framework_name
OLDNEW
« no previous file with comments | « test/mac/gyptest-installname.py ('k') | test/mac/gyptest-ldflags-passed-to-libtool.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698