| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 | 2 |
| 3 # Copyright (c) 2012 Google Inc. All rights reserved. | 3 # Copyright (c) 2012 Google Inc. All rights reserved. |
| 4 # Use of this source code is governed by a BSD-style license that can be | 4 # Use of this source code is governed by a BSD-style license that can be |
| 5 # found in the LICENSE file. | 5 # found in the LICENSE file. |
| 6 | 6 |
| 7 """ | 7 """ |
| 8 Verifies that a dependency on two gyp files with the same name do not create a | 8 Checks that gyp does not fail on shared_library targets which have several files |
| 9 uid collision in the resulting generated xcode file. | 9 with the same basename. |
| 10 """ | 10 """ |
| 11 | 11 |
| 12 import TestGyp | 12 import TestGyp |
| 13 | 13 |
| 14 import sys | |
| 15 | |
| 16 test = TestGyp.TestGyp() | 14 test = TestGyp.TestGyp() |
| 17 | 15 |
| 18 test.run_gyp('test.gyp', chdir='library') | 16 test.run_gyp('double-shared.gyp', chdir='src') |
| 19 | 17 |
| 20 test.pass_test() | 18 test.pass_test() |
| OLD | NEW |