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

Side by Side Diff: test/mac/gyptest-postbuild-static-library.gyp

Issue 23905003: Tests: Rename a gyptest*.gyp file to gyptest*.py. (Closed) Base URL: http://gyp.googlecode.com/svn/trunk/
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | test/mac/gyptest-postbuild-static-library.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/usr/bin/env python
2
3 # Copyright (c) 2012 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 Verifies that a postbuilds on static libraries work, and that sourceless
9 libraries don't cause failures at gyp time.
10 """
11
12 import TestGyp
13
14 import sys
15
16 if sys.platform == 'darwin':
17 test = TestGyp.TestGyp(formats=['make', 'xcode'])
18
19 CHDIR = 'postbuild-static-library'
20 test.run_gyp('test.gyp', chdir=CHDIR)
21 test.build('test.gyp', 'my_lib', chdir=CHDIR)
22 # Building my_sourceless_lib doesn't work with make. gyp should probably
23 # forbid sourceless static libraries, since they're pretty pointless.
24 # But they shouldn't cause gyp time exceptions.
25
26 test.built_file_must_exist('postbuild-file', chdir=CHDIR)
27
28 test.pass_test()
OLDNEW
« no previous file with comments | « no previous file | test/mac/gyptest-postbuild-static-library.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698