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

Side by Side Diff: test/mac/gyptest-loadable-module-collision.py

Issue 401633002: Enable custom suffixes for Mac bundles. Base URL: http://gyp.googlecode.com/svn/trunk/
Patch Set: Created 6 years, 4 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 unified diff | Download patch | Annotate | Revision Log
Property Changes:
Added: svn:executable
+ *
OLDNEW
(Empty)
1 #!/usr/bin/env python
Mark Mentovai 2014/07/29 12:55:08 The filename should say something about product_ex
jsartisohn 2014/07/29 13:37:10 Done.
2
3 # Copyright (c) 2014 Google Inc. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file.
6
7 """
8 Tests that loadable_modules don't collide when using the same name with
9 different file extensions.
10 """
11
12 import TestGyp
13
14 import os
15 import struct
16 import sys
17
18 if sys.platform == 'darwin':
19 test = TestGyp.TestGyp(formats=['ninja', 'make', 'xcode'])
20
21 CHDIR = 'loadable-module-collision'
22 test.run_gyp('test.gyp', chdir=CHDIR)
23 test.build('test.gyp', test.ALL, chdir=CHDIR)
24
25 test.must_exist(test.built_file_path('Collide.foo', chdir=CHDIR))
26 test.must_exist(test.built_file_path('Collide.bar', chdir=CHDIR))
27
28 test.pass_test()
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698