Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(477)

Unified Diff: test/mac/gyptest-duplicate-names.py

Issue 10911280: Adding a test to cover XCode UID collisions. (Closed) Base URL: http://gyp.googlecode.com/svn/trunk/
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/mac/duplicate-names/two/sub.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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()
« no previous file with comments | « test/mac/duplicate-names/two/sub.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698