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

Unified Diff: test/configurations/x64/gyptest-x86.py

Issue 10698023: Get ninja working for nacl. (Closed) Base URL: http://gyp.googlecode.com/svn/trunk/
Patch Set: Created 8 years, 6 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 side-by-side diff with in-line comments
Download patch
« pylib/gyp/generator/ninja.py ('K') | « test/configurations/x64/configurations.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« pylib/gyp/generator/ninja.py ('K') | « test/configurations/x64/configurations.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698