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

Side by Side Diff: trunk/src/native_client/tests/toolchain/nacl.scons

Issue 71933002: Revert 12382 "Deploy new x86 binutils" (Closed) Base URL: svn://svn.chromium.org/native_client/
Patch Set: Created 7 years, 1 month 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 | « trunk/src/native_client/src/trusted/validator_ragel/testdata/64/legacy.test ('k') | no next file » | 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('env') 6 Import('env')
7 7
8 # force inclusion of entire library, so that we can validate it 8 # force inclusion of entire library, so that we can validate it
9 # NOTE: This approach does not work for -lc because of tons of 9 # NOTE: This approach does not work for -lc because of tons of
10 # undefined symbols which would have to be stubbed out 10 # undefined symbols which would have to be stubbed out
(...skipping 28 matching lines...) Expand all
39 # into the command line; so by clearing that, we prevent scons from 39 # into the command line; so by clearing that, we prevent scons from
40 # adding repeated -l switches at the end of the link. 40 # adding repeated -l switches at the end of the link.
41 nexe = env.ComponentProgram('dummy', 'dummy.c', 41 nexe = env.ComponentProgram('dummy', 'dummy.c',
42 EXTRA_LINKFLAGS=DEP_LINKFLAGS, 42 EXTRA_LINKFLAGS=DEP_LINKFLAGS,
43 LIBS=DEP_LIBS, 43 LIBS=DEP_LIBS,
44 _LIBFLAGS='') 44 _LIBFLAGS='')
45 node = env.CommandValidatorTestNacl('whole_archive_test.out', 45 node = env.CommandValidatorTestNacl('whole_archive_test.out',
46 image=nexe) 46 image=nexe)
47 env.AddNodeToTestSuite(node, 47 env.AddNodeToTestSuite(node,
48 ['toolchain_tests', 'small_tests'], 48 ['toolchain_tests', 'small_tests'],
49 'run_whole_archive_test', 49 'run_whole_archive_test')
50 # The old ncval doesn't like the new linker's style
51 # of padding the code segment. TODO(mcgrathr):
52 # Remove this is_broken= when we the old ncval is no
53 # longer ever built and used for this test.
54 is_broken=(env.IsNewLinker() and
55 env.Bit('target_x86') and
56 not env.Bit('validator_ragel')))
57 50
58 51
59 def AddIntrinsicTest(test_env, src, exit_status, 52 def AddIntrinsicTest(test_env, src, exit_status,
60 golden_file=None, test_suffix='', is_broken=False, 53 golden_file=None, test_suffix='', is_broken=False,
61 EXTRA_LIBS=[]): 54 EXTRA_LIBS=[]):
62 name = src.split('.')[0] 55 name = src.split('.')[0]
63 name += test_suffix 56 name += test_suffix
64 57
65 obj = test_env.ComponentObject(name, src) 58 obj = test_env.ComponentObject(name, src)
66 nexe = test_env.ComponentProgram( 59 nexe = test_env.ComponentProgram(
(...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after
501 asm_env.AddNodeToTestSuite(node, ['toolchain_tests', 'small_tests'], 494 asm_env.AddNodeToTestSuite(node, ['toolchain_tests', 'small_tests'],
502 'run_nop_test') 495 'run_nop_test')
503 496
504 if not env.Bit('nacl_disable_shared'): 497 if not env.Bit('nacl_disable_shared'):
505 env.NaClSharedLibrary('pic_constant_lib', ['pic_constant_lib.c']) 498 env.NaClSharedLibrary('pic_constant_lib', ['pic_constant_lib.c'])
506 nexe = env.ComponentProgram('pic_constant', ['pic_constant.c'], 499 nexe = env.ComponentProgram('pic_constant', ['pic_constant.c'],
507 EXTRA_LIBS=['pic_constant_lib', '${NONIRT_LIBS}']) 500 EXTRA_LIBS=['pic_constant_lib', '${NONIRT_LIBS}'])
508 node = env.CommandSelLdrTestNacl('pic_constant.out', nexe) 501 node = env.CommandSelLdrTestNacl('pic_constant.out', nexe)
509 env.AddNodeToTestSuite(node, ['toolchain_tests', 'small_tests'], 502 env.AddNodeToTestSuite(node, ['toolchain_tests', 'small_tests'],
510 'run_pic_constant_test') 503 'run_pic_constant_test')
OLDNEW
« no previous file with comments | « trunk/src/native_client/src/trusted/validator_ragel/testdata/64/legacy.test ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698