Sha256: 08e3f1e77544bf75509ac614b296ebf225f66747fa9ef8ff2139734093764954

Contents?: true

Size: 655 Bytes

Versions: 5

Compression:

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

"""
Verifies that actions can be + a source scanner can be used to implement,
cross-compiles (for Native Client at this point).
"""

import TestGyp

test = TestGyp.TestGyp()

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

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

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

expect = """\
From test1.cc
From test2.c
From test3.cc
From test4.c
"""
test.run_built_executable('program', chdir='relocate/src', stdout=expect)


test.pass_test()

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
mt-libuv-4.1.04 ext/gyp/test/external-cross-compile/gyptest-cross.py
mt-libuv-4.1.03 ext/gyp/test/external-cross-compile/gyptest-cross.py
mt-libuv-4.1.02 ext/gyp/test/external-cross-compile/gyptest-cross.py
tree-sitter-0.1.0 ext/tree-sitter/tree-sitter/externals/gyp/test/external-cross-compile/gyptest-cross.py
tree-sitter-0.0.1 ext/tree-sitter/tree-sitter/externals/gyp/test/external-cross-compile/gyptest-cross.py