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

Unified Diff: test/mac/gyptest-libtool-zero.py

Issue 699083004: Set ZERO_AR_DATE=1 when running libtool. (Closed) Base URL: http://gyp.googlecode.com/svn/trunk/
Patch Set: Remove the assert as it triggers with gyptest-product Created 6 years, 1 month 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 | « pylib/gyp/mac_tool.py ('k') | test/mac/libtool-zero/mylib.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mac/gyptest-libtool-zero.py
diff --git a/test/mac/gyptest-cflags.py b/test/mac/gyptest-libtool-zero.py
similarity index 58%
copy from test/mac/gyptest-cflags.py
copy to test/mac/gyptest-libtool-zero.py
index 7d24863df5d295ac45736ae05e6ff911325b7539..ae5b7e635b5c1dc80f78a255c26037b81fd5ea73 100644
--- a/test/mac/gyptest-cflags.py
+++ b/test/mac/gyptest-libtool-zero.py
@@ -1,11 +1,11 @@
#!/usr/bin/env python
-# Copyright (c) 2012 Google Inc. All rights reserved.
+# Copyright (c) 2014 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 compile-time flags work.
+Verifies libraries have proper mtime.
"""
import TestGyp
@@ -14,7 +14,13 @@ import sys
if sys.platform == 'darwin':
test = TestGyp.TestGyp(formats=['ninja', 'make', 'xcode'])
- CHDIR = 'cflags'
+
+ CHDIR = 'libtool-zero'
+
test.run_gyp('test.gyp', chdir=CHDIR)
- test.build('test.gyp', test.ALL, chdir=CHDIR)
+
+ test.build('test.gyp', 'mylib', chdir=CHDIR)
+
+ test.up_to_date('test.gyp', 'mylib', chdir=CHDIR)
+
test.pass_test()
« no previous file with comments | « pylib/gyp/mac_tool.py ('k') | test/mac/libtool-zero/mylib.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698