Sha256: 0e4efc7fef39c0444a587f76d42c883585cd2afa39c5d2b68368cb6340991677

Contents?: true

Size: 624 Bytes

Versions: 4

Compression:

Stored size: 624 Bytes

Contents

#!/usr/bin/env python

# Copyright (c) 2013 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.

"""
Verify that a target marked as 'link_dependency==1' isn't being pulled into
the 'none' target's dependency (which would otherwise lead to a dependency
cycle in ninja).
"""

import TestGyp

# See https://codereview.chromium.org/177043010/#msg15 for why this doesn't
# work with cmake.
test = TestGyp.TestGyp(formats=['!cmake'])

test.run_gyp('test.gyp')
test.build('test.gyp', 'main')

# If running gyp worked, all is well.
test.pass_test()

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
mt-libuv-4.1.04 ext/gyp/test/link-dependency/gyptest-link-dependency.py
mt-libuv-4.1.03 ext/gyp/test/link-dependency/gyptest-link-dependency.py
mt-libuv-4.1.02 ext/gyp/test/link-dependency/gyptest-link-dependency.py
tree-sitter-0.1.0 ext/tree-sitter/tree-sitter/externals/gyp/test/link-dependency/gyptest-link-dependency.py