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 Verifies props files are added by using a 9 props file to set the name of the built executable. 10 """ 11 12 import TestGyp 13 14 test = TestGyp.TestGyp(workdir='workarea_all', formats=['msvs']) 15 16 test.run_gyp('hello.gyp') 17 18 test.build('hello.gyp') 19 20 test.built_file_must_exist('Greet.exe') 21 22 test.pass_test() 23