OLD | NEW |
(Empty) | |
| 1 #!/usr/bin/env python |
| 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 |
| 7 """ |
| 8 Verifies copies in sourceless shared_library targets are executed. |
| 9 """ |
| 10 |
| 11 import TestGyp |
| 12 |
| 13 test = TestGyp.TestGyp() |
| 14 test.run_gyp('copies-sourceless-shared-lib.gyp', chdir='src') |
| 15 test.relocate('src', 'relocate/src') |
| 16 test.build('copies-sourceless-shared-lib.gyp', chdir='relocate/src') |
| 17 test.built_file_must_match('copies-out/file1', |
| 18 'file1 contents\n', |
| 19 chdir='relocate/src') |
| 20 test.pass_test() |
OLD | NEW |