OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 | 2 |
| 3 # Copyright (c) 2009 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 |
3 """ | 7 """ |
4 Verifies building a project hierarchy created when the --generator-output= | 8 Verifies building a project hierarchy created when the --generator-output= |
5 option is used to put the build configuration files in a separate | 9 option is used to put the build configuration files in a separate |
6 directory tree. | 10 directory tree. |
7 """ | 11 """ |
8 | 12 |
9 import TestGyp | 13 import TestGyp |
10 | 14 |
11 test = TestGyp.TestGyp() | 15 test = TestGyp.TestGyp() |
12 | 16 |
(...skipping 27 matching lines...) Expand all Loading... |
40 | 44 |
41 if test.format == 'xcode': | 45 if test.format == 'xcode': |
42 chdir = 'src/subdir2' | 46 chdir = 'src/subdir2' |
43 test.run_built_executable('prog2', chdir=chdir, stdout=expect % 'prog2.c') | 47 test.run_built_executable('prog2', chdir=chdir, stdout=expect % 'prog2.c') |
44 | 48 |
45 if test.format == 'xcode': | 49 if test.format == 'xcode': |
46 chdir = 'src/subdir3' | 50 chdir = 'src/subdir3' |
47 test.run_built_executable('prog3', chdir=chdir, stdout=expect % 'prog3.c') | 51 test.run_built_executable('prog3', chdir=chdir, stdout=expect % 'prog3.c') |
48 | 52 |
49 test.pass_test() | 53 test.pass_test() |
OLD | NEW |