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

Unified Diff: test/assembly/gyptest-assembly.py

Issue 9395080: Exclude test/assembly on Windows (Closed) Base URL: http://gyp.googlecode.com/svn/trunk/
Patch Set: Created 8 years, 10 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/assembly/gyptest-assembly.py
===================================================================
--- test/assembly/gyptest-assembly.py (revision 1217)
+++ test/assembly/gyptest-assembly.py (working copy)
@@ -1,31 +1,31 @@
#!/usr/bin/env python
-# Copyright (c) 2009 Google Inc. All rights reserved.
+# Copyright (c) 2012 Google Inc. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""
-Verifies that .hpp files are ignored when included in the source list on all
-platforms.
+A basic test of compiling assembler files.
"""
import sys
import TestGyp
-# TODO(bradnelson): get this working for windows.
-test = TestGyp.TestGyp(formats=['make', 'ninja', 'scons', 'xcode'])
+if sys.platform != 'win32':
+ # TODO(bradnelson): get this working for windows.
+ test = TestGyp.TestGyp(formats=['make', 'ninja', 'scons', 'xcode'])
-test.run_gyp('assembly.gyp', chdir='src')
+ test.run_gyp('assembly.gyp', chdir='src')
-test.relocate('src', 'relocate/src')
+ test.relocate('src', 'relocate/src')
-test.build('assembly.gyp', test.ALL, chdir='relocate/src')
+ test.build('assembly.gyp', test.ALL, chdir='relocate/src')
-expect = """\
-Hello from program.c
-Got 42.
-"""
-test.run_built_executable('program', chdir='relocate/src', stdout=expect)
+ expect = """\
+ Hello from program.c
+ Got 42.
+ """
+ test.run_built_executable('program', chdir='relocate/src', stdout=expect)
-test.pass_test()
+ test.pass_test()
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698