Sha256: 23409292f3e150c8064216f6f9665994b95d2e73a76ee8ed9e6ebcc8ad8b857b
Contents?: true
Size: 780 Bytes
Versions: 1
Compression:
Stored size: 780 Bytes
Contents
#!/usr/bin/env python # Copyright (c) 2012 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 OTHER_LDFLAGS is passed to libtool. """ import TestGyp import sys if sys.platform == 'darwin': test = TestGyp.TestGyp(formats=['ninja', 'make', 'xcode'], match = lambda a, b: True) build_error_code = { 'xcode': [1, 65], # 1 for xcode 3, 65 for xcode 4 (see `man sysexits`) 'make': 2, 'ninja': 1, 'xcode-ninja': [1, 65], }[test.format] CHDIR = 'ldflags-libtool' test.run_gyp('test.gyp', chdir=CHDIR) test.build('test.gyp', 'ldflags_passed_to_libtool', chdir=CHDIR, status=build_error_code) test.pass_test()
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tree-sitter-0.1.0 | ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-ldflags-passed-to-libtool.py |