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

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

Issue 8161004: Handle ELFCLASS32 files for x86-64 (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: typo fixes in last iteration 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 | « src/tools/validator_tools/ncstubout.c ('k') | src/trusted/service_runtime/elf_util.c » ('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 platform 6 import platform
7 import os 7 import os
8 8
9 Import('env') 9 Import('env')
10 10
(...skipping 635 matching lines...) Expand 10 before | Expand all | Expand 10 after
646 # Do not run when building tools to run on x86-32 but to analyze the 646 # Do not run when building tools to run on x86-32 but to analyze the
647 # arm instruction set 647 # arm instruction set
648 if not env.CrossToolsBuild(): 648 if not env.CrossToolsBuild():
649 node = env.CommandSelLdrTestNacl( 649 node = env.CommandSelLdrTestNacl(
650 'fuzz_nullptr_test.out', 650 'fuzz_nullptr_test.out',
651 env.File(arch_testdata_dir + '/nullptr.nexe'), 651 env.File(arch_testdata_dir + '/nullptr.nexe'),
652 sel_ldr_flags=['-F'], 652 sel_ldr_flags=['-F'],
653 exit_status = '0') 653 exit_status = '0')
654 env.AddNodeToTestSuite(node, ['small_tests'], 'run_fuzz_nullptr_test') 654 env.AddNodeToTestSuite(node, ['small_tests'], 'run_fuzz_nullptr_test')
655 655
656 if env.Bit('target_x86_64') and not env.CrossToolsBuild():
657 node = env.CommandSelLdrTestNacl(
658 'hello_x32.out',
659 env.File(os.path.join(arch_testdata_dir, 'hello_x32.nexe')),
660 stdout_golden=env.File(os.path.join('${MAIN_DIR}',
661 'tests/hello_world',
662 'hello_world.stdout'))
663 )
664 env.AddNodeToTestSuite(node, ['small_tests'], 'run_hello_x32_test')
665
656 # ---------------------------------------------------------- 666 # ----------------------------------------------------------
657 # Integration Tests 667 # Integration Tests
658 # ---------------------------------------------------------- 668 # ----------------------------------------------------------
659 669
660 # Doesn't work on windows under coverage. 670 # Doesn't work on windows under coverage.
661 # TODO(bradnelson): fix this to work on windows under coverage. 671 # TODO(bradnelson): fix this to work on windows under coverage.
662 # NOTE: uses validator 672 # NOTE: uses validator
663 if ((not env.Bit('windows') or not env.Bit('coverage_enabled')) and 673 if ((not env.Bit('windows') or not env.Bit('coverage_enabled')) and
664 not env.CrossToolsBuild()): 674 not env.CrossToolsBuild()):
665 obj_proxy_test_inputs = [ 'fs/obj_proxy_test.c', ] 675 obj_proxy_test_inputs = [ 'fs/obj_proxy_test.c', ]
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
843 expected_exit_status = 'sigabrt' 853 expected_exit_status = 'sigabrt'
844 node = env.CommandTest( 854 node = env.CommandTest(
845 'sel_ldr_thread_death_test.out', 855 'sel_ldr_thread_death_test.out',
846 command=[sel_ldr_thread_death_test_exe], 856 command=[sel_ldr_thread_death_test_exe],
847 exit_status=expected_exit_status) 857 exit_status=expected_exit_status)
848 858
849 # TODO(tuduce): Make it work on windows. 859 # TODO(tuduce): Make it work on windows.
850 env.AddNodeToTestSuite(node, ['medium_tests'], 860 env.AddNodeToTestSuite(node, ['medium_tests'],
851 'run_sel_ldr_thread_death_test', 861 'run_sel_ldr_thread_death_test',
852 is_broken=env.Bit('windows')) 862 is_broken=env.Bit('windows'))
OLDNEW
« no previous file with comments | « src/tools/validator_tools/ncstubout.c ('k') | src/trusted/service_runtime/elf_util.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698