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 Verify the settings that cause a set of programs to be created in | 8 Verify the settings that cause a set of programs to be created in |
5 a specific build directory, and that no intermediate built files | 9 a specific build directory, and that no intermediate built files |
6 get created outside of that build directory hierarchy even when | 10 get created outside of that build directory hierarchy even when |
7 referred to with deeply-nested ../../.. paths. | 11 referred to with deeply-nested ../../.. paths. |
8 """ | 12 """ |
9 | 13 |
10 import TestGyp | 14 import TestGyp |
11 | 15 |
12 # TODO(mmoss): Make only supports (theoretically) a single, global build | 16 # TODO(mmoss): Make only supports (theoretically) a single, global build |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 dir = 'relocate/builddir/Default/' | 68 dir = 'relocate/builddir/Default/' |
65 test.run(program=test.workpath(dir + prog), stdout=expect) | 69 test.run(program=test.workpath(dir + prog), stdout=expect) |
66 | 70 |
67 run_builddir('prog1', expect1) | 71 run_builddir('prog1', expect1) |
68 run_builddir('prog2', expect2) | 72 run_builddir('prog2', expect2) |
69 run_builddir('prog3', expect3) | 73 run_builddir('prog3', expect3) |
70 run_builddir('prog4', expect4) | 74 run_builddir('prog4', expect4) |
71 run_builddir('prog5', expect5) | 75 run_builddir('prog5', expect5) |
72 | 76 |
73 test.pass_test() | 77 test.pass_test() |
OLD | NEW |