Sha256: 9015db4e14f11e882e770c2711236198f33598d3707b27485591f81ca73a92f9

Contents?: true

Size: 511 Bytes

Versions: 28

Compression:

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

"""Test that custom generators can be passed to --format
"""

import TestGyp

test = TestGyp.TestGypCustom(format='mygenerator.py')
test.run_gyp('test.gyp')

# mygenerator.py should generate a file called MyBuildFile containing
# "Testing..." alongside the gyp file.
test.must_match('MyBuildFile', 'Testing...\n')

test.pass_test()

Version data entries

28 entries across 28 versions & 5 rubygems

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