summaryrefslogtreecommitdiff
path: root/deps/gyp/test/same-gyp-name/gyptest-library.py
diff options
context:
space:
mode:
Diffstat (limited to 'deps/gyp/test/same-gyp-name/gyptest-library.py')
-rw-r--r--deps/gyp/test/same-gyp-name/gyptest-library.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/deps/gyp/test/same-gyp-name/gyptest-library.py b/deps/gyp/test/same-gyp-name/gyptest-library.py
new file mode 100644
index 0000000000..957a4a52d6
--- /dev/null
+++ b/deps/gyp/test/same-gyp-name/gyptest-library.py
@@ -0,0 +1,20 @@
+#!/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.
+
+"""
+Verifies that a dependency on two gyp files with the same name do not create a
+uid collision in the resulting generated xcode file.
+"""
+
+import TestGyp
+
+import sys
+
+test = TestGyp.TestGyp()
+
+test.run_gyp('test.gyp', chdir='library')
+
+test.pass_test()