Sha256: f57469eb07f7eeeaa7bbe1a39ea2a3847f465bda0aace71c01593f56b24502d2

Contents?: true

Size: 769 Bytes

Versions: 39

Compression:

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

"""
"""

import TestGyp

test = TestGyp.TestGyp()

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

test.relocate('src', 'relocate/src')

# TODO(sgk):  remove stderr=None when the --generator-output= support
# gets rid of the scons warning
test.build('multiple.gyp', test.ALL, chdir='relocate/src', stderr=None)

expect1 = """\
hello from prog1.c
hello from common.c
"""

expect2 = """\
hello from prog2.c
hello from common.c
"""

test.run_built_executable('prog1', stdout=expect1, chdir='relocate/src')
test.run_built_executable('prog2', stdout=expect2, chdir='relocate/src')

test.pass_test()

Version data entries

39 entries across 39 versions & 5 rubygems

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