summaryrefslogtreecommitdiffstats
path: root/third_party/python/gyp/test/same-gyp-name/gyptest-library.py
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/python/gyp/test/same-gyp-name/gyptest-library.py')
-rw-r--r--third_party/python/gyp/test/same-gyp-name/gyptest-library.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/third_party/python/gyp/test/same-gyp-name/gyptest-library.py b/third_party/python/gyp/test/same-gyp-name/gyptest-library.py
new file mode 100644
index 0000000000..957a4a52d6
--- /dev/null
+++ b/third_party/python/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()