Sha256: dea68ec50b6bd37adbfbe13ced1414460a0ec95729a86a75ef75775bed394b68

Contents?: true

Size: 792 Bytes

Versions: 28

Compression:

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

"""
Make sure linker OutputFile setting is extracted properly.
"""

import TestGyp

import sys

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

  CHDIR = 'linker-flags'
  test.run_gyp('outputfile.gyp', chdir=CHDIR)
  test.build('outputfile.gyp', test.ALL, chdir=CHDIR)

  test.built_file_must_exist('blorp.exe', chdir=CHDIR)
  test.built_file_must_exist('blorp.dll', chdir=CHDIR)
  test.built_file_must_exist('subdir/blorp.exe', chdir=CHDIR)
  test.built_file_must_exist('blorp.lib', chdir=CHDIR)
  test.built_file_must_exist('subdir/blorp.lib', chdir=CHDIR)

  test.pass_test()

Version data entries

28 entries across 28 versions & 5 rubygems

Version Path
libv8-3.16.14.7 vendor/gyp/test/win/gyptest-link-outputfile.py
libv8-3.16.14.6 vendor/gyp/test/win/gyptest-link-outputfile.py
libv8-3.16.14.5 vendor/gyp/test/win/gyptest-link-outputfile.py
libv8-3.16.14.4 vendor/gyp/test/win/gyptest-link-outputfile.py
libv8-3.16.14.3 vendor/gyp/test/win/gyptest-link-outputfile.py
libv8-3.16.14.2 vendor/gyp/test/win/gyptest-link-outputfile.py
libv8-3.16.14.1 vendor/v8/build/gyp/test/win/gyptest-link-outputfile.py
libv8-3.16.14.0 vendor/v8/build/gyp/test/win/gyptest-link-outputfile.py