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

Unified Diff: test/rules/gyptest-special-variables.py

Issue 10893030: ninja windows: Fix special variables not getting emitted when expanded from VS macros (Closed) Base URL: http://gyp.googlecode.com/svn/trunk/
Patch Set: copyright Created 8 years, 4 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 | « pylib/gyp/generator/ninja.py ('k') | test/rules/src/an_asm.S » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/rules/gyptest-special-variables.py
===================================================================
--- test/rules/gyptest-special-variables.py (revision 0)
+++ test/rules/gyptest-special-variables.py (revision 0)
@@ -0,0 +1,18 @@
+#!/usr/bin/env python
+
+# Copyright (c) 2011 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 VS variables that require special variables are expanded
+correctly. """
+
+import sys
+import TestGyp
+
+if sys.platform == 'win32':
+ test = TestGyp.TestGyp()
+
+ test.run_gyp('special-variables.gyp', chdir='src')
+ test.build('special-variables.gyp', test.ALL, chdir='src')
+ test.pass_test()
Property changes on: test\rules\gyptest-special-variables.py
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « pylib/gyp/generator/ninja.py ('k') | test/rules/src/an_asm.S » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698