| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 | 2 |
| 3 # Copyright (c) 2009 Google Inc. All rights reserved. | 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 | 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 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'. |
| 9 """ | 9 """ |
| 10 | 10 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 chdir='relocate/src/subdir' | 31 chdir='relocate/src/subdir' |
| 32 else: | 32 else: |
| 33 chdir='relocate/src' | 33 chdir='relocate/src' |
| 34 | 34 |
| 35 expect = """\ | 35 expect = """\ |
| 36 Hello from subdir/subdir_includes.c | 36 Hello from subdir/subdir_includes.c |
| 37 Hello from subdir/inc.h | 37 Hello from subdir/inc.h |
| 38 Hello from include1.h | 38 Hello from include1.h |
| 39 Hello from subdir/inc2/include2.h | 39 Hello from subdir/inc2/include2.h |
| 40 """ | 40 """ |
| 41 test.run_built_executable('subdir_includes', stdout=expect, chdir=chdir) | 41 if test.format == 'android': |
| 42 test.run_built_executable('subdir_includes', stdout=expect, chdir=chdir, |
| 43 subdir='subdir') |
| 44 else: |
| 45 test.run_built_executable('subdir_includes', stdout=expect, chdir=chdir) |
| 42 | 46 |
| 43 test.pass_test() | 47 test.pass_test() |
| OLD | NEW |