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

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

Issue 636933004: stop building/testing old x86 validator. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: rebase master Created 6 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 | « tests/tls_segment_x86_32/nacl.scons ('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.Bit('target_x86') and
55 not env.Bit('validator_ragel')))
56 50
57 51
58 def AddIntrinsicTest(test_env, src, exit_status, 52 def AddIntrinsicTest(test_env, src, exit_status,
59 golden_file=None, test_suffix='', is_broken=False, 53 golden_file=None, test_suffix='', is_broken=False,
60 EXTRA_LIBS=[]): 54 EXTRA_LIBS=[]):
61 name = src.split('.')[0] 55 name = src.split('.')[0]
62 name += test_suffix 56 name += test_suffix
63 57
64 obj = test_env.ComponentObject(name, src) 58 obj = test_env.ComponentObject(name, src)
65 nexe = test_env.ComponentProgram( 59 nexe = test_env.ComponentProgram(
(...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after
603 mixedlink_env.Append(CCFLAGS=['-Wt,-force-align-stack']) 597 mixedlink_env.Append(CCFLAGS=['-Wt,-force-align-stack'])
604 nexe = mixedlink_env.ComponentProgram( 598 nexe = mixedlink_env.ComponentProgram(
605 'stackalign_test', 599 'stackalign_test',
606 ['call_with_misaligned_stack.S', 'stackalign_test.c'], 600 ['call_with_misaligned_stack.S', 'stackalign_test.c'],
607 EXTRA_LIBS=['${NONIRT_LIBS}']) 601 EXTRA_LIBS=['${NONIRT_LIBS}'])
608 node = mixedlink_env.CommandSelLdrTestNacl('stackalign.out', nexe) 602 node = mixedlink_env.CommandSelLdrTestNacl('stackalign.out', nexe)
609 mixedlink_env.AddNodeToTestSuite( 603 mixedlink_env.AddNodeToTestSuite(
610 node, 604 node,
611 ['nonpexe_tests', 'small_tests', 'toolchain_tests'], 605 ['nonpexe_tests', 'small_tests', 'toolchain_tests'],
612 'run_stackalign_test') 606 'run_stackalign_test')
OLDNEW
« no previous file with comments | « tests/tls_segment_x86_32/nacl.scons ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698