| 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 that a rule that generates multiple outputs rebuilds | 8 Verifies that a rule that generates multiple outputs rebuilds |
| 5 correctly when the inputs change. | 9 correctly when the inputs change. |
| 6 """ | 10 """ |
| 7 | 11 |
| 8 import TestGyp | 12 import TestGyp |
| 9 | 13 |
| 10 test = TestGyp.TestGyp() | 14 test = TestGyp.TestGyp() |
| 11 | 15 |
| 12 if test.format == 'msvs': | 16 if test.format == 'msvs': |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 Hello from prog1.in AGAIN! | 65 Hello from prog1.in AGAIN! |
| 62 Hello from prog2.in AGAIN! | 66 Hello from prog2.in AGAIN! |
| 63 """ | 67 """ |
| 64 | 68 |
| 65 test.run_built_executable('program', chdir='relocate/src', stdout=expect) | 69 test.run_built_executable('program', chdir='relocate/src', stdout=expect) |
| 66 | 70 |
| 67 test.up_to_date('same_target.gyp', 'program', chdir='relocate/src') | 71 test.up_to_date('same_target.gyp', 'program', chdir='relocate/src') |
| 68 | 72 |
| 69 | 73 |
| 70 test.pass_test() | 74 test.pass_test() |
| OLD | NEW |