1 #!/usr/bin/env python 2 3 # Copyright (c) 2012 Google Inc. All rights reserved. 4 # Use of this source code is governed by a BSD-style license that can be 5 # found in the LICENSE file. 6 7 """ 8 Make sure <(CONFIGURATION_NAME) variable is correctly expanded. 9 """ 10 11 import TestGyp 12 13 import sys 14 15 test = TestGyp.TestGyp() 16 test.set_configuration('C1') 17 18 test.run_gyp('variable-in-path.gyp') 19 test.build('variable-in-path.gyp', 'hello1') 20 test.build('variable-in-path.gyp', 'hello2') 21 22 23 test.pass_test() 24