summaryrefslogtreecommitdiffstats
path: root/media/webrtc/trunk/tools/gyp/test/rules/gyptest-special-variables.py
diff options
context:
space:
mode:
Diffstat (limited to 'media/webrtc/trunk/tools/gyp/test/rules/gyptest-special-variables.py')
-rw-r--r--media/webrtc/trunk/tools/gyp/test/rules/gyptest-special-variables.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/media/webrtc/trunk/tools/gyp/test/rules/gyptest-special-variables.py b/media/webrtc/trunk/tools/gyp/test/rules/gyptest-special-variables.py
new file mode 100644
index 000000000..05ea7cee1
--- /dev/null
+++ b/media/webrtc/trunk/tools/gyp/test/rules/gyptest-special-variables.py
@@ -0,0 +1,18 @@
+#!/usr/bin/env python
+
+# 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 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()