| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 | 2 |
| 3 # Copyright (c) 2012 Google Inc. All rights reserved. | 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 | 4 # Use of this source code is governed by a BSD-style license that can be |
| 5 # found in the LICENSE file. | 5 # found in the LICENSE file. |
| 6 | 6 |
| 7 """ | 7 """ |
| 8 Verifies props files are added by using a | 8 Verifies props files are added by using a |
| 9 props file to set the name of the built executable. | 9 props file to set the name of the built executable. |
| 10 """ | 10 """ |
| 11 | 11 |
| 12 import TestGyp | 12 import TestGyp |
| 13 import os | |
| 14 | 13 |
| 15 test = TestGyp.TestGyp(workdir='workarea_all', formats=['msvs']) | 14 test = TestGyp.TestGyp(workdir='workarea_all', formats=['msvs']) |
| 16 | 15 |
| 17 test.run_gyp('hello.gyp') | 16 test.run_gyp('hello.gyp') |
| 18 | 17 |
| 19 test.build('hello.gyp') | 18 test.build('hello.gyp') |
| 20 | 19 |
| 21 test.built_file_must_exist('Greet.exe') | 20 test.built_file_must_exist('Greet.exe') |
| 22 | 21 |
| 23 test.pass_test() | 22 test.pass_test() |
| OLD | NEW |