Sha256: f085c7003efbc612336570aad8cf94a0b4742c9b66caf251cfe994f6af1d9beb

Contents?: true

Size: 660 Bytes

Versions: 16

Compression:

Stored size: 660 Bytes

Contents

#!/usr/bin/env python

# Copyright (c) 2009 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 simple build of a "Hello, world!" program with loadable modules. The
default for all platforms should be to output the loadable modules to the same
path as the executable.
"""

import TestGyp

test = TestGyp.TestGyp()

test.run_gyp('module.gyp', chdir='src')

test.build('module.gyp', test.ALL, chdir='src')

expect = """\
Hello from program.c
Hello from lib1.c
Hello from lib2.c
"""
test.run_built_executable('program', chdir='src', stdout=expect)

test.pass_test()

Version data entries

16 entries across 16 versions & 3 rubygems

Version Path
libv8-3.11.8.17 vendor/v8/build/gyp/test/module/gyptest-default.py
libv8-3.11.8.16 vendor/v8/build/gyp/test/module/gyptest-default.py
libv8-3.11.8.13 vendor/v8/build/gyp/test/module/gyptest-default.py
libv8-3.11.8.12 vendor/v8/build/gyp/test/module/gyptest-default.py
sunrise-cms-0.5.0.rc1 vendor/bundle/ruby/1.9.1/gems/libv8-3.11.8.4/vendor/v8/build/gyp/test/module/gyptest-default.py
libv8-3.11.8.11 vendor/v8/build/gyp/test/module/gyptest-default.py
libv8-3.11.8.10 vendor/v8/build/gyp/test/module/gyptest-default.py
libv8-3.11.8.9 vendor/v8/build/gyp/test/module/gyptest-default.py
libv8-3.11.8.8 vendor/v8/build/gyp/test/module/gyptest-default.py
libv8-3.11.8.7 vendor/v8/build/gyp/test/module/gyptest-default.py
libv8-3.11.8.4 vendor/v8/build/gyp/test/module/gyptest-default.py
libv8-freebsd-3.11.8.3 vendor/v8/build/gyp/test/module/gyptest-default.py
libv8-3.11.8.3 vendor/v8/build/gyp/test/module/gyptest-default.py
libv8-3.11.8.1 vendor/v8/build/gyp/test/module/gyptest-default.py
libv8-3.11.8.0 vendor/v8/build/gyp/test/module/gyptest-default.py
libv8-3.10.8.0 vendor/v8/build/gyp/test/module/gyptest-default.py