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

Side by Side Diff: tests/multiple_sandboxes/nacl.scons

Issue 6883091: Start unit testing for functions in nc_inst_state.c (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: '' Created 9 years, 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # -*- python -*- 1 # -*- python -*-
2 # Copyright 2011 The Native Client Authors. All rights reserved. 2 # Copyright 2011 The Native Client Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can 3 # Use of this source code is governed by a BSD-style license that can
4 # be found in the LICENSE file. 4 # be found in the LICENSE file.
5 5
6 Import('env') 6 Import('env')
7 7
8 if 'TRUSTED_ENV' not in env: 8 if 'TRUSTED_ENV' not in env:
9 Return() 9 Return()
10 trusted_env = env['TRUSTED_ENV'] 10 trusted_env = env['TRUSTED_ENV']
11 11
12 # This duplicates the library list in src/trusted/service_runtime/build.scons. 12 # This duplicates the library list in src/trusted/service_runtime/build.scons.
13 # We would not have to do this if we could get Scons to track dependencies 13 # We would not have to do this if we could get Scons to track dependencies
14 # between libraries. 14 # between libraries.
15 VALIDATOR_LIBS = [] 15 VALIDATOR_LIBS = []
16 if trusted_env.Bit('target_x86'): 16 if trusted_env.Bit('target_x86'):
17 VALIDATOR_LIBS += ['ncopcode_utils', 'ncvalidate']
18 if trusted_env.Bit('target_x86_64'): 17 if trusted_env.Bit('target_x86_64'):
19 VALIDATOR_LIBS += ['ncvalidate_sfi'] 18 VALIDATOR_LIBS += ['ncvalidate_sfi']
19 VALIDATOR_LIBS += ['ncvalidate']
20 elif trusted_env.Bit('target_arm'): 20 elif trusted_env.Bit('target_arm'):
21 VALIDATOR_LIBS += ['ncvalidate_arm_v2', 'arm_validator_core'] 21 VALIDATOR_LIBS += ['ncvalidate_arm_v2', 'arm_validator_core']
22 22
23 DEBUG_LIBS = ['debug_stub_init', 'gdb_rsp', 'debug_stub'] 23 DEBUG_LIBS = ['debug_stub_init', 'gdb_rsp', 'debug_stub']
24 24
25 runner = trusted_env.ComponentProgram( 25 runner = trusted_env.ComponentProgram(
26 'multidomain_test_host', ['multidomain_test_host.c'], 26 'multidomain_test_host', ['multidomain_test_host.c'],
27 EXTRA_LIBS=['sel', 27 EXTRA_LIBS=['sel',
28 'gio_wrapped_desc', 28 'gio_wrapped_desc',
29 'nonnacl_srpc', 29 'nonnacl_srpc',
(...skipping 25 matching lines...) Expand all
55 # executable. Furthermore, statically-linked nacl-glibc does not 55 # executable. Furthermore, statically-linked nacl-glibc does not
56 # work here because of validation failures which require stubout 56 # work here because of validation failures which require stubout
57 # mode. 57 # mode.
58 is_broken = (env.Bit('build_arm') 58 is_broken = (env.Bit('build_arm')
59 or env.Bit('host_mac') 59 or env.Bit('host_mac')
60 or env.Bit('host_windows') 60 or env.Bit('host_windows')
61 or env.Bit('nacl_glibc')) 61 or env.Bit('nacl_glibc'))
62 62
63 env.AddNodeToTestSuite(node, ['small_tests'], 'run_multidomain_test', 63 env.AddNodeToTestSuite(node, ['small_tests'], 'run_multidomain_test',
64 is_broken=is_broken) 64 is_broken=is_broken)
OLDNEW
« src/trusted/validator_x86/nc_inst_state.c ('K') | « src/trusted/validator_x86/ncopcode_desc.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698