| 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 simple build of a "Hello, world!" program with static libraries, | 8 Verifies simple build of a "Hello, world!" program with static libraries, |
| 5 including verifying that libraries are rebuilt correctly when functions | 9 including verifying that libraries are rebuilt correctly when functions |
| 6 move between libraries. | 10 move between libraries. |
| 7 """ | 11 """ |
| 8 | 12 |
| 9 import TestGyp | 13 import TestGyp |
| 10 | 14 |
| 11 test = TestGyp.TestGyp() | 15 test = TestGyp.TestGyp() |
| 12 | 16 |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 expect = """\ | 75 expect = """\ |
| 72 Hello again again from program.c | 76 Hello again again from program.c |
| 73 Hello from lib1.c | 77 Hello from lib1.c |
| 74 Hello from lib2.c | 78 Hello from lib2.c |
| 75 Hello from lib1_moveable.c | 79 Hello from lib1_moveable.c |
| 76 """ | 80 """ |
| 77 test.run_built_executable('program', chdir='relocate/src', stdout=expect) | 81 test.run_built_executable('program', chdir='relocate/src', stdout=expect) |
| 78 | 82 |
| 79 | 83 |
| 80 test.pass_test() | 84 test.pass_test() |
| OLD | NEW |