summaryrefslogtreecommitdiff
path: root/deps/gyp/test/variables/variable-in-path/gyptest-variable-in-path.py
diff options
context:
space:
mode:
Diffstat (limited to 'deps/gyp/test/variables/variable-in-path/gyptest-variable-in-path.py')
-rw-r--r--deps/gyp/test/variables/variable-in-path/gyptest-variable-in-path.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/deps/gyp/test/variables/variable-in-path/gyptest-variable-in-path.py b/deps/gyp/test/variables/variable-in-path/gyptest-variable-in-path.py
new file mode 100644
index 0000000000..b73a279da7
--- /dev/null
+++ b/deps/gyp/test/variables/variable-in-path/gyptest-variable-in-path.py
@@ -0,0 +1,23 @@
+#!/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.
+
+"""
+Make sure <(CONFIGURATION_NAME) variable is correctly expanded.
+"""
+
+import TestGyp
+
+import sys
+
+test = TestGyp.TestGyp()
+test.set_configuration('C1')
+
+test.run_gyp('variable-in-path.gyp')
+test.build('variable-in-path.gyp', 'hello1')
+test.build('variable-in-path.gyp', 'hello2')
+
+
+test.pass_test()