Sha256: 2076a38e97575ababaf1754eb49b802c257fcb237cc8f577a148aff819bdb0dd

Contents?: true

Size: 677 Bytes

Versions: 28

Compression:

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

"""
A basic test of compiling assembler files.
"""

import sys
import TestGyp

if sys.platform != 'win32':
  # TODO(bradnelson): get this working for windows.
  test = TestGyp.TestGyp(formats=['!msvs'])

  test.run_gyp('assembly.gyp', chdir='src')

  test.relocate('src', 'relocate/src')

  test.build('assembly.gyp', test.ALL, chdir='relocate/src')

  expect = """\
Hello from program.c
Got 42.
"""
  test.run_built_executable('program', chdir='relocate/src', stdout=expect)


  test.pass_test()

Version data entries

28 entries across 28 versions & 5 rubygems

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