Sha256: cabae79eac01ce69e40a9b96ecb4411940c3761e5996eefe5da407b97a22d480

Contents?: true

Size: 1.48 KB

Versions: 16

Compression:

Stored size: 1.48 KB

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 simplest-possible build of a "Hello, world!" program
using the default build target.
"""

import TestGyp

test = TestGyp.TestGyp()

test.run_gyp('product.gyp')
test.build('product.gyp')

# executables
test.built_file_must_exist('alt1' + test._exe, test.EXECUTABLE, bare=True)
test.built_file_must_exist('hello2.stuff', test.EXECUTABLE, bare=True)
test.built_file_must_exist('yoalt3.stuff', test.EXECUTABLE, bare=True)

# shared libraries
test.built_file_must_exist(test.dll_ + 'alt4' + test._dll,
                           test.SHARED_LIB, bare=True)
test.built_file_must_exist(test.dll_ + 'hello5.stuff',
                           test.SHARED_LIB, bare=True)
test.built_file_must_exist('yoalt6.stuff', test.SHARED_LIB, bare=True)

# static libraries
test.built_file_must_exist(test.lib_ + 'alt7' + test._lib,
                           test.STATIC_LIB, bare=True)
test.built_file_must_exist(test.lib_ + 'hello8.stuff',
                           test.STATIC_LIB, bare=True)
test.built_file_must_exist('yoalt9.stuff', test.STATIC_LIB, bare=True)

# alternate product_dir
test.built_file_must_exist('bob/yoalt10.stuff', test.EXECUTABLE, bare=True)
test.built_file_must_exist('bob/yoalt11.stuff', test.EXECUTABLE, bare=True)
test.built_file_must_exist('bob/yoalt12.stuff', test.EXECUTABLE, bare=True)

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/product/gyptest-product.py
libv8-3.11.8.16 vendor/v8/build/gyp/test/product/gyptest-product.py
libv8-3.11.8.13 vendor/v8/build/gyp/test/product/gyptest-product.py
libv8-3.11.8.12 vendor/v8/build/gyp/test/product/gyptest-product.py
sunrise-cms-0.5.0.rc1 vendor/bundle/ruby/1.9.1/gems/libv8-3.11.8.4/vendor/v8/build/gyp/test/product/gyptest-product.py
libv8-3.11.8.11 vendor/v8/build/gyp/test/product/gyptest-product.py
libv8-3.11.8.10 vendor/v8/build/gyp/test/product/gyptest-product.py
libv8-3.11.8.9 vendor/v8/build/gyp/test/product/gyptest-product.py
libv8-3.11.8.8 vendor/v8/build/gyp/test/product/gyptest-product.py
libv8-3.11.8.7 vendor/v8/build/gyp/test/product/gyptest-product.py
libv8-3.11.8.4 vendor/v8/build/gyp/test/product/gyptest-product.py
libv8-freebsd-3.11.8.3 vendor/v8/build/gyp/test/product/gyptest-product.py
libv8-3.11.8.3 vendor/v8/build/gyp/test/product/gyptest-product.py
libv8-3.11.8.1 vendor/v8/build/gyp/test/product/gyptest-product.py
libv8-3.11.8.0 vendor/v8/build/gyp/test/product/gyptest-product.py
libv8-3.10.8.0 vendor/v8/build/gyp/test/product/gyptest-product.py