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 use of include_dirs when using an explicit build target of 'all'. | 8 Verifies use of include_dirs when using an explicit build target of 'all'. |
5 """ | 9 """ |
6 | 10 |
7 import TestGyp | 11 import TestGyp |
8 | 12 |
9 test = TestGyp.TestGyp() | 13 test = TestGyp.TestGyp() |
10 | 14 |
11 test.run_gyp('includes.gyp', chdir='src') | 15 test.run_gyp('includes.gyp', chdir='src') |
12 | 16 |
(...skipping 16 matching lines...) Expand all Loading... |
29 | 33 |
30 expect = """\ | 34 expect = """\ |
31 Hello from subdir/subdir_includes.c | 35 Hello from subdir/subdir_includes.c |
32 Hello from subdir/inc.h | 36 Hello from subdir/inc.h |
33 Hello from include1.h | 37 Hello from include1.h |
34 Hello from subdir/inc2/include2.h | 38 Hello from subdir/inc2/include2.h |
35 """ | 39 """ |
36 test.run_built_executable('subdir_includes', stdout=expect, chdir=chdir) | 40 test.run_built_executable('subdir_includes', stdout=expect, chdir=chdir) |
37 | 41 |
38 test.pass_test() | 42 test.pass_test() |
OLD | NEW |