Chromium Code Reviews| Index: test/configurations/x64/gyptest-x86.py |
| =================================================================== |
| --- test/configurations/x64/gyptest-x86.py (revision 1421) |
| +++ test/configurations/x64/gyptest-x86.py (working copy) |
| @@ -10,15 +10,20 @@ |
| import TestGyp |
| -test = TestGyp.TestGyp(formats=['msvs']) |
| +import sys |
| +formats = ['msvs'] |
| +if sys.platform =='win32': |
| + formats += ['ninja'] |
| +test = TestGyp.TestGyp(formats=formats) |
| + |
| test.run_gyp('configurations.gyp') |
| +test.set_configuration('Debug|Win32') |
| +test.build('configurations.gyp', test.ALL) |
| -for platform in ['Win32', 'x64']: |
| - test.set_configuration('Debug|%s' % platform) |
| - test.build('configurations.gyp', rebuild=True) |
| +for platform, suffix in [('Win32', ''), ('x64', '64')]: |
| try: |
| - test.run_built_executable('configurations', |
| + test.run_built_executable('configurations' + suffix, |
|
scottmg
2012/06/27 23:08:11
This doesn't seem to test too much, since most mac
bradn
2012/06/28 01:37:51
Done.
|
| stdout=('Running %s\n' % platform)) |
| except WindowsError, e: |
| # Assume the exe is 64-bit if it can't load on 32-bit systems. |