Sha256: b06e6a8937099fdf9665900c9be0eb0781f0fd642ba4350fb44b1615a97ad966

Contents?: true

Size: 787 Bytes

Versions: 28

Compression:

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

"""
Verifies build of an executable in three different configurations.
"""

import TestGyp

import sys

formats = ['msvs']
if sys.platform == 'win32':
  formats += ['ninja']
test = TestGyp.TestGyp(formats=formats)

test.run_gyp('configurations.gyp')
test.set_configuration('Debug|Win32')
test.build('configurations.gyp', test.ALL)

for machine, suffix in [('14C machine (x86)', ''),
                        ('8664 machine (x64)', '64')]:
  output = test.run_dumpbin(
      '/headers', test.built_file_path('configurations%s.exe' % suffix))
  if machine not in output:
    test.fail_test()

test.pass_test()

Version data entries

28 entries across 28 versions & 5 rubygems

Version Path
libv8-3.16.14.7 vendor/gyp/test/configurations/x64/gyptest-x86.py
libv8-3.16.14.6 vendor/gyp/test/configurations/x64/gyptest-x86.py
libv8-3.16.14.5 vendor/gyp/test/configurations/x64/gyptest-x86.py
libv8-3.16.14.4 vendor/gyp/test/configurations/x64/gyptest-x86.py
libv8-3.16.14.3 vendor/gyp/test/configurations/x64/gyptest-x86.py
libv8-3.16.14.2 vendor/gyp/test/configurations/x64/gyptest-x86.py
libv8-3.16.14.1 vendor/v8/build/gyp/test/configurations/x64/gyptest-x86.py
libv8-3.16.14.0 vendor/v8/build/gyp/test/configurations/x64/gyptest-x86.py