diff options
author | Torne (Richard Coles) <torne@google.com> | 2014-11-06 11:12:40 +0000 |
---|---|---|
committer | Torne (Richard Coles) <torne@google.com> | 2014-11-06 11:12:40 +0000 |
commit | 2c322fa0879bb1d22b6ce09b698562d8d7cae36d (patch) | |
tree | 25a4380a068212b79efba1d8dc79a4d36ba3c98d /test/mac/gyptest-libtool-zero.py | |
parent | 86a67f445a64a7baaa8aee66b6a5859c00289462 (diff) | |
parent | b5b4ce2b9f579f0944ddc21801187e8efb458ca4 (diff) | |
download | gyp-master.tar.gz |
Merge from Chromium at DEPS revision db3f05efe0f9HEADwebview-m40_r4webview-m40_r3webview-m40_r2webview-m40_r1android-m-preview-2android-m-preview-1android-m-previewub-webview-m40-releasemaster-soongmastermain
This commit was generated by merge_to_master.py.
Change-Id: I60d0e38401d2444cd8c029e28b930554938d39c7
Diffstat (limited to 'test/mac/gyptest-libtool-zero.py')
-rw-r--r-- | test/mac/gyptest-libtool-zero.py | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/test/mac/gyptest-libtool-zero.py b/test/mac/gyptest-libtool-zero.py new file mode 100644 index 00000000..ae5b7e63 --- /dev/null +++ b/test/mac/gyptest-libtool-zero.py @@ -0,0 +1,26 @@ +#!/usr/bin/env python + +# 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 libraries have proper mtime. +""" + +import TestGyp + +import sys + +if sys.platform == 'darwin': + test = TestGyp.TestGyp(formats=['ninja', 'make', 'xcode']) + + CHDIR = 'libtool-zero' + + test.run_gyp('test.gyp', chdir=CHDIR) + + test.build('test.gyp', 'mylib', chdir=CHDIR) + + test.up_to_date('test.gyp', 'mylib', chdir=CHDIR) + + test.pass_test() |