Sha256: 199a7517128fd5efe21c4a387828213120eccffc58824a3988eb3b82d212de59

Contents?: true

Size: 719 Bytes

Versions: 28

Compression:

Stored size: 719 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 macro expansion of $(VCInstallDir) is handled, and specifically
always / terminated for compatibility.
"""

import TestGyp

import sys

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

  CHDIR = 'vs-macros'
  test.run_gyp('vcinstalldir.gyp', chdir=CHDIR)
  # This fails on VS because the trailing slash escapes the trailing quote.
  test.build('vcinstalldir.gyp', 'test_slash_trailing', chdir=CHDIR, status=1)
  test.build('vcinstalldir.gyp', 'test_slash_dir', 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-macro-vcinstalldir.py
libv8-3.16.14.6 vendor/gyp/test/win/gyptest-macro-vcinstalldir.py
libv8-3.16.14.5 vendor/gyp/test/win/gyptest-macro-vcinstalldir.py
libv8-3.16.14.4 vendor/gyp/test/win/gyptest-macro-vcinstalldir.py
libv8-3.16.14.3 vendor/gyp/test/win/gyptest-macro-vcinstalldir.py
libv8-3.16.14.2 vendor/gyp/test/win/gyptest-macro-vcinstalldir.py
libv8-3.16.14.1 vendor/v8/build/gyp/test/win/gyptest-macro-vcinstalldir.py
libv8-3.16.14.0 vendor/v8/build/gyp/test/win/gyptest-macro-vcinstalldir.py