| Index: src/tools/posix_over_imc/nacl.scons
|
| diff --git a/src/tools/posix_over_imc/nacl.scons b/src/tools/posix_over_imc/nacl.scons
|
| deleted file mode 100644
|
| index 0cdc13d97e4b030ae06d69b17b780b5bc6f7fa28..0000000000000000000000000000000000000000
|
| --- a/src/tools/posix_over_imc/nacl.scons
|
| +++ /dev/null
|
| @@ -1,49 +0,0 @@
|
| -# -*- python -*-
|
| -# Copyright (c) 2011 The Native Client Authors. All rights reserved.
|
| -# Use of this source code is governed by a BSD-style license that can be
|
| -# found in the LICENSE file.
|
| -
|
| -import os
|
| -
|
| -Import('env')
|
| -
|
| -# This tests a feature that is currently only in nacl-glibc's dynamic
|
| -# linker.
|
| -if not env.Bit('nacl_glibc'):
|
| - Return()
|
| -if env.Bit('nacl_static_link'):
|
| - Return()
|
| -# nacl-glibc tests are currently only run on Linux and the plumbing
|
| -# for Python bindings will require more work for Mac and Windows.
|
| -# TODO(mseaborn): Share a common set of checks and plumbing with
|
| -# src/trusted/python_bindings/build.scons.
|
| -if not env.Bit('host_linux'):
|
| - Return()
|
| -# Disable for x86-32 in case this is a multilib target, since Python
|
| -# does not support multilib. See src/trusted/python_bindings/build.scons.
|
| -if env.Bit('build_x86_32'):
|
| - Return()
|
| -
|
| -if 'TRUSTED_ENV' not in env:
|
| - Return()
|
| -trusted_env = env['TRUSTED_ENV']
|
| -
|
| -python_extension = trusted_env.File('${STAGING_DIR}/naclimc.so')
|
| -
|
| -sel_ldr = trusted_env.File('${STAGING_DIR}/${PROGPREFIX}sel_ldr${PROGSUFFIX}')
|
| -hello_world = env.File('${STAGING_DIR}/hello_world.nexe')
|
| -env_vars = [
|
| - 'PYTHONPATH=%s' % os.path.dirname(python_extension.abspath),
|
| - 'NACL_SEL_LDR=%s' % sel_ldr,
|
| - 'NACL_LIBRARY_DIR=${NACL_SDK_LIB}',
|
| - ]
|
| -dependencies = [python_extension, sel_ldr, hello_world]
|
| -
|
| -node = env.CommandTest(
|
| - 'posix_over_imc_test.out',
|
| - command=['${PYTHON}', env.File('nacl_launcher.py'), hello_world],
|
| - osenv=env_vars,
|
| - extra_deps=dependencies,
|
| - stdout_golden=env.File('${SCONSTRUCT_DIR}/tests/hello_world'
|
| - '/hello_world.stdout'))
|
| -env.AddNodeToTestSuite(node, ['small_tests'], 'run_posix_over_imc_test')
|
|
|