Sha256: 94814bfd03547dfd9fb310c80dfe0c21e8f190763f11c861399874e21ae3f104

Contents?: true

Size: 489 Bytes

Versions: 23

Compression:

Stored size: 489 Bytes

Contents

#!/usr/bin/env python

# Copyright (c) 2011 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 build of an executable with C++ defines.
"""

import TestGyp

test = TestGyp.TestGyp()

test.run_gyp('defines.gyp')

test.build('defines.gyp')

expect = """\
FOO is defined
VALUE is 1
2*PAREN_VALUE is 12
HASH_VALUE is a#1
"""
test.run_built_executable('defines', stdout=expect)

test.pass_test()

Version data entries

23 entries across 23 versions & 3 rubygems

Version Path
libv8-3.16.14.2 vendor/gyp/test/defines/gyptest-defines.py
libv8-3.16.14.1 vendor/v8/build/gyp/test/defines/gyptest-defines.py
libv8-3.16.14.0 vendor/v8/build/gyp/test/defines/gyptest-defines.py