Sha256: a18924acfd2761e407793ee4fd21915bf038ec2e5b90a3c568067b617c06fda1

Contents?: true

Size: 610 Bytes

Versions: 5

Compression:

Stored size: 610 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.

"""
Make sure that manual rules on Windows override the built in ones.
"""

import sys
import TestGyp

if sys.platform == 'win32':
  test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
  CHDIR = 'src'
  test.run_gyp('override.gyp', chdir=CHDIR)
  test.build('override.gyp', test.ALL, chdir=CHDIR)
  expect = """\
Hello from program.c
Got 42.
"""
  test.run_built_executable('program', chdir=CHDIR, stdout=expect)
  test.pass_test()

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
mt-libuv-4.1.04 ext/gyp/test/assembly/gyptest-override.py
mt-libuv-4.1.03 ext/gyp/test/assembly/gyptest-override.py
mt-libuv-4.1.02 ext/gyp/test/assembly/gyptest-override.py
tree-sitter-0.1.0 ext/tree-sitter/tree-sitter/externals/gyp/test/assembly/gyptest-override.py
tree-sitter-0.0.1 ext/tree-sitter/tree-sitter/externals/gyp/test/assembly/gyptest-override.py