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

Side by Side Diff: test/assembly/gyptest-assembly.py

Issue 10198031: Exclude problematic formats from tests, rather than including all other platforms (Closed) Base URL: http://git.chromium.org/external/gyp.git@master
Patch Set: Created 8 years, 7 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 | « no previous file | test/same-gyp-name/gyptest-all.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) 2009 Google Inc. All rights reserved. 3 # Copyright (c) 2009 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 .hpp files are ignored when included in the source list on all 8 Verifies that .hpp files are ignored when included in the source list on all
9 platforms. 9 platforms.
10 """ 10 """
11 11
12 import sys 12 import sys
13 import TestGyp 13 import TestGyp
14 14
15 # TODO(bradnelson): get this working for windows. 15 # TODO(bradnelson): get this working for windows.
16 test = TestGyp.TestGyp(formats=['make', 'ninja', 'scons', 'xcode']) 16 test = TestGyp.TestGyp(formats=['!gypd', '!msvs'])
Nico 2012/04/27 05:07:57 Is "!gypd" needed? gyptest.py doesn't include gypd
17 17
18 test.run_gyp('assembly.gyp', chdir='src') 18 test.run_gyp('assembly.gyp', chdir='src')
19 19
20 test.relocate('src', 'relocate/src') 20 test.relocate('src', 'relocate/src')
21 21
22 test.build('assembly.gyp', test.ALL, chdir='relocate/src') 22 test.build('assembly.gyp', test.ALL, chdir='relocate/src')
23 23
24 expect = """\ 24 expect = """\
25 Hello from program.c 25 Hello from program.c
26 Got 42. 26 Got 42.
27 """ 27 """
28 test.run_built_executable('program', chdir='relocate/src', stdout=expect) 28 test.run_built_executable('program', chdir='relocate/src', stdout=expect)
29 29
30 30
31 test.pass_test() 31 test.pass_test()
OLDNEW
« no previous file with comments | « no previous file | test/same-gyp-name/gyptest-all.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698