Index: test/mac/gyptest-duplicate-names.py |
=================================================================== |
--- test/mac/gyptest-duplicate-names.py (revision 0) |
+++ test/mac/gyptest-duplicate-names.py (revision 0) |
@@ -0,0 +1,21 @@ |
+#!/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 |
+ |
+if sys.platform == 'darwin': |
Nico
2012/09/13 12:07:23
The test didn't look mac-specific to me. Can you r
noyau (Ping after 24h)
2012/09/14 12:00:35
Moved the code out of mac/ into generator-output/
|
+ test = TestGyp.TestGyp(formats=['ninja', 'make', 'xcode']) |
+ |
+ test.run_gyp('test.gyp', chdir='duplicate-names') |
+ |
+ test.pass_test() |