Sha256: 82a2f43193bdce5989b54a789d253ce3f435a0fd5b7b15edccfb8e711201012e

Contents?: true

Size: 739 Bytes

Versions: 28

Compression:

Stored size: 739 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 batch files run as actions. Regression test for previously missing
trailing quote on command line. cmd typically will implicitly insert a missing
quote, but if the command ends in a quote, it will not insert another, so the
command can sometimes become unterminated.
"""

import TestGyp

import sys

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

  CHDIR = 'batch-file-action'
  test.run_gyp('batch-file-action.gyp', chdir=CHDIR)
  test.build('batch-file-action.gyp', test.ALL, 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-quoting-commands.py
libv8-3.16.14.6 vendor/gyp/test/win/gyptest-quoting-commands.py
libv8-3.16.14.5 vendor/gyp/test/win/gyptest-quoting-commands.py
libv8-3.16.14.4 vendor/gyp/test/win/gyptest-quoting-commands.py
libv8-3.16.14.3 vendor/gyp/test/win/gyptest-quoting-commands.py
libv8-3.16.14.2 vendor/gyp/test/win/gyptest-quoting-commands.py
libv8-3.16.14.1 vendor/v8/build/gyp/test/win/gyptest-quoting-commands.py
libv8-3.16.14.0 vendor/v8/build/gyp/test/win/gyptest-quoting-commands.py