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

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

Issue 10134056: Refactor the process of choosing validators. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: more aesthetics Created 8 years, 6 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 | « src/tools/validator_tools/ncstubout.c ('k') | src/trusted/service_runtime/sel_ldr.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) 2012 The Native Client Authors. All rights reserved. 2 # Copyright (c) 2012 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 platform 6 import platform
7 import os 7 import os
8 8
9 Import('env') 9 Import('env')
10 10
(...skipping 729 matching lines...) Expand 10 before | Expand all | Expand 10 after
740 ) 740 )
741 env.AddNodeToTestSuite(node, ['small_tests'], 'run_hello_x32_test') 741 env.AddNodeToTestSuite(node, ['small_tests'], 'run_hello_x32_test')
742 742
743 # Test canned hello_world binary with validator_ragel. 743 # Test canned hello_world binary with validator_ragel.
744 if env.Bit('target_x86'): 744 if env.Bit('target_x86'):
745 node = env.CommandSelLdrTestNacl( 745 node = env.CommandSelLdrTestNacl(
746 'dfa_hwd.out', 746 'dfa_hwd.out',
747 env.File(arch_testdata_dir + '/hello_world.nexe'), 747 env.File(arch_testdata_dir + '/hello_world.nexe'),
748 stdout_golden = env.File('testdata/hello_world.stdout'), 748 stdout_golden = env.File('testdata/hello_world.stdout'),
749 stderr_golden = env.File('testdata/dfa_validator_hello.stderr'), 749 stderr_golden = env.File('testdata/dfa_validator_hello.stderr'),
750 filter_regex = '"^(Hello, World!)$|DANGER"', 750 filter_regex = '"^(Hello, World!)$' + '|' +
751 '^[[][^]]*[]] (DANGER! USING THE EXPERIMENTAL DFA VALIDATOR!)$"',
752 filter_group_only = 'true',
751 osenv='NACL_DANGEROUS_USE_DFA_VALIDATOR=1', 753 osenv='NACL_DANGEROUS_USE_DFA_VALIDATOR=1',
752 ) 754 )
753 env.AddNodeToTestSuite(node, ['medium_tests', 'validator_tests'], 755 env.AddNodeToTestSuite(node, ['medium_tests', 'validator_tests'],
754 'run_dfa_validator_hello_world_test') 756 'run_dfa_validator_hello_world_test')
755 757
756 if not env.CrossToolsBuild(): 758 if not env.CrossToolsBuild():
757 node = env.CommandSelLdrTestNacl( 759 node = env.CommandSelLdrTestNacl(
758 'unaligned_data.out', 760 'unaligned_data.out',
759 env.File(os.path.join(arch_testdata_dir, 'unaligned_data.nexe'))) 761 env.File(os.path.join(arch_testdata_dir, 'unaligned_data.nexe')))
760 env.AddNodeToTestSuite(node, ['small_tests'], 'run_unaligned_data_test') 762 env.AddNodeToTestSuite(node, ['small_tests'], 'run_unaligned_data_test')
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
958 node = env.CommandTest( 960 node = env.CommandTest(
959 'nacl_error_log_test.out', 961 'nacl_error_log_test.out',
960 command=[exe], 962 command=[exe],
961 exit_status=expected_exit, 963 exit_status=expected_exit,
962 filter_regex='"(NaClCrashLogWriter.*)|(This is a test of the emergency.*)"', 964 filter_regex='"(NaClCrashLogWriter.*)|(This is a test of the emergency.*)"',
963 filter_group_only='true', 965 filter_group_only='true',
964 stdout_golden=env.File('nacl_error_log_test.stdout')) 966 stdout_golden=env.File('nacl_error_log_test.stdout'))
965 967
966 env.AddNodeToTestSuite(node, ['small_tests'], 968 env.AddNodeToTestSuite(node, ['small_tests'],
967 'run_nacl_error_log_test') 969 'run_nacl_error_log_test')
OLDNEW
« no previous file with comments | « src/tools/validator_tools/ncstubout.c ('k') | src/trusted/service_runtime/sel_ldr.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698