1 #!/usr/bin/env python 2 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 5 # found in the LICENSE file. 6 7 """ 8 Checks that gyp fails on shared_library targets which have several files with 9 the same basename. 10 """ 11 12 import TestGyp 13 14 test = TestGyp.TestGyp() 15 16 test.run_gyp('double-shared.gyp', chdir='src', status=1, stderr=None) 17 18 test.pass_test() 19