Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(582)

Unified Diff: src/tools/posix_over_imc/nacl.scons

Issue 7831062: Remove obsolete and disabled tests for glibc IMC startup hack (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « SConstruct ('k') | src/tools/posix_over_imc/nacl_launcher.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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')
« no previous file with comments | « SConstruct ('k') | src/tools/posix_over_imc/nacl_launcher.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698