summaryrefslogtreecommitdiff
path: root/deps/gyp/test/same-source-file-name/gyptest-pass-shared.py
diff options
context:
space:
mode:
Diffstat (limited to 'deps/gyp/test/same-source-file-name/gyptest-pass-shared.py')
-rwxr-xr-xdeps/gyp/test/same-source-file-name/gyptest-pass-shared.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/deps/gyp/test/same-source-file-name/gyptest-pass-shared.py b/deps/gyp/test/same-source-file-name/gyptest-pass-shared.py
new file mode 100755
index 0000000000..a498f1a846
--- /dev/null
+++ b/deps/gyp/test/same-source-file-name/gyptest-pass-shared.py
@@ -0,0 +1,18 @@
+#!/usr/bin/env python
+
+# Copyright (c) 2012 Google Inc. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+"""
+Checks that gyp does not fail on shared_library targets which have several files
+with the same basename.
+"""
+
+import TestGyp
+
+test = TestGyp.TestGyp()
+
+test.run_gyp('double-shared.gyp', chdir='src')
+
+test.pass_test()