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', | |
15 chdir='src') | |
scottmg
2015/12/14 19:24:51
It looks like this would fit on the line above.
Nico
2015/12/14 19:54:53
Done.
| |
16 test.relocate('src', 'relocate/src') | |
17 test.build('copies-sourceless-shared-lib.gyp', chdir='relocate/src') | |
18 test.built_file_must_match('copies-out/file1', | |
19 'file1 contents\n', | |
20 chdir='relocate/src') | |
21 test.pass_test() | |
OLD | NEW |