diff options
Diffstat (limited to 'media/webrtc/trunk/tools/gyp/test/variables/variable-in-path/gyptest-variable-in-path.py')
-rw-r--r-- | media/webrtc/trunk/tools/gyp/test/variables/variable-in-path/gyptest-variable-in-path.py | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/media/webrtc/trunk/tools/gyp/test/variables/variable-in-path/gyptest-variable-in-path.py b/media/webrtc/trunk/tools/gyp/test/variables/variable-in-path/gyptest-variable-in-path.py new file mode 100644 index 000000000..b73a279da --- /dev/null +++ b/media/webrtc/trunk/tools/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() |