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() |