michael@0: #!/usr/bin/env python michael@0: michael@0: # Copyright (c) 2012 Google Inc. All rights reserved. michael@0: # Use of this source code is governed by a BSD-style license that can be michael@0: # found in the LICENSE file. michael@0: michael@0: """ michael@0: Make sure <(CONFIGURATION_NAME) variable is correctly expanded. michael@0: """ michael@0: michael@0: import TestGyp michael@0: michael@0: import sys michael@0: michael@0: test = TestGyp.TestGyp() michael@0: test.set_configuration('C1') michael@0: michael@0: test.run_gyp('variable-in-path.gyp') michael@0: test.build('variable-in-path.gyp', 'hello1') michael@0: test.build('variable-in-path.gyp', 'hello2') michael@0: michael@0: michael@0: test.pass_test()