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

Side by Side Diff: src/trusted/validator_arm/build.scons

Issue 8275008: Make validator require read sandboxing on ARM. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: '' Created 9 years, 2 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
« no previous file with comments | « no previous file | src/trusted/validator_arm/inst_classes.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # -*- python -*- 1 # -*- python -*-
2 # Copyright (c) 2011 The Native Client Authors. All rights reserved. 2 # Copyright (c) 2011 The Native Client Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 import os 6 import os
7 Import('env') 7 Import('env')
8 8
9 if env.Bit('linux'): 9 if env.Bit('linux'):
10 10
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 # TODO(cbiffle): get this wrapped in QEMU. 62 # TODO(cbiffle): get this wrapped in QEMU.
63 #env.AddNodeToTestSuite(address_set_test, ['small_tests'], 'address_set_test') 63 #env.AddNodeToTestSuite(address_set_test, ['small_tests'], 'address_set_test')
64 64
65 validator_tests = { 65 validator_tests = {
66 'test_external_jumps': 1, 66 'test_external_jumps': 1,
67 'test_forbidden_instructions': 1, 67 'test_forbidden_instructions': 1,
68 'test_internal_jumps': 1, 68 'test_internal_jumps': 1,
69 'test_sp_updates': 1, 69 'test_sp_updates': 1,
70 'test_stores': 1, 70 'test_stores': 1,
71 'test_vector_stores': 1, 71 'test_vector_stores': 1,
72 'test_loads': 1,
73 'test_vector_loads': 1,
72 } 74 }
73 75
74 for test, exit_status in validator_tests.iteritems(): 76 for test, exit_status in validator_tests.iteritems():
75 node = env.CommandTest( 77 node = env.CommandTest(
76 test + '_actual.out', 78 test + '_actual.out',
77 [ncval, env.File('testdata/' + test + '.nexe')], 79 [ncval, env.File('testdata/' + test + '.nexe')],
78 exit_status = str(exit_status), 80 exit_status = str(exit_status),
79 filter_regex = "'^ncval'", 81 filter_regex = "'^ncval'",
80 # NOTE: all stdout_golden are currently empty 82 # NOTE: all stdout_golden are currently empty
81 stdout_golden = env.File('testdata/' + test + '.out'), 83 stdout_golden = env.File('testdata/' + test + '.out'),
(...skipping 19 matching lines...) Expand all
101 # a program of the same name. 103 # a program of the same name.
102 validator_tests_exe = gtest_env.ComponentProgram('arm_validator_tests', 104 validator_tests_exe = gtest_env.ComponentProgram('arm_validator_tests',
103 ['validator_tests.cc'], 105 ['validator_tests.cc'],
104 EXTRA_LIBS=['gtest', 'arm_validator_core']) 106 EXTRA_LIBS=['gtest', 'arm_validator_core'])
105 107
106 test_node = gtest_env.CommandTest( 108 test_node = gtest_env.CommandTest(
107 'validator_tests.out', 109 'validator_tests.out',
108 command=[validator_tests_exe]) 110 command=[validator_tests_exe])
109 gtest_env.AddNodeToTestSuite(test_node, ['small_tests'], 111 gtest_env.AddNodeToTestSuite(test_node, ['small_tests'],
110 'run_arm_validator_tests') 112 'run_arm_validator_tests')
OLDNEW
« no previous file with comments | « no previous file | src/trusted/validator_arm/inst_classes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698