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

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

Issue 2107012: Update the verifier to work with both gold and ld produced binaries. (Closed) Base URL: http://nativeclient.googlecode.com/svn/trunk/src/native_client/
Patch Set: '' Created 10 years, 7 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
OLDNEW
1 # Copyright 2009, Google Inc. 1 # Copyright 2009, Google Inc.
2 # All rights reserved. 2 # All rights reserved.
3 # 3 #
4 # Redistribution and use in source and binary forms, with or without 4 # Redistribution and use in source and binary forms, with or without
5 # modification, are permitted provided that the following conditions are 5 # modification, are permitted provided that the following conditions are
6 # met: 6 # met:
7 # 7 #
8 # * Redistributions of source code must retain the above copyright 8 # * Redistributions of source code must retain the above copyright
9 # notice, this list of conditions and the following disclaimer. 9 # notice, this list of conditions and the following disclaimer.
10 # * Redistributions in binary form must reproduce the above 10 # * Redistributions in binary form must reproduce the above
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 out = 'barebones_' + basename + '.out' 60 out = 'barebones_' + basename + '.out'
61 test = 'run_barebones_' + basename + '_test' 61 test = 'run_barebones_' + basename + '_test'
62 test = 'run_barebones_' + basename + '_test' 62 test = 'run_barebones_' + basename + '_test'
63 env.ComponentProgram(nexe, [FAKE_STARTUP, src]) 63 env.ComponentProgram(nexe, [FAKE_STARTUP, src])
64 64
65 node = env.CommandSelLdrTestNacl( 65 node = env.CommandSelLdrTestNacl(
66 out, 66 out,
67 command=[env.File(nexe)], 67 command=[env.File(nexe)],
68 exit_status='55',) 68 exit_status='55',)
69 env.AddNodeToTestSuite(node, ['small_tests', 'sel_ldr_tests'], test) 69 env.AddNodeToTestSuite(node, ['small_tests', 'sel_ldr_tests'], test)
70
71 # a test that the validador can handle an empty segment after the last
72 # real segment. The gold linker produces files this
73 if env['BUILD_ARCHITECTURE'] == 'arm':
74 nexe = '${SCONSTRUCT_DIR}/tests/prebuilt/arm/gold-barebones_hello_world.nexe'
75 node = env.CommandSelLdrTestNacl(
76 'gold-barebones_hello_world.out',
77 command=[env.File(nexe)],
78 exit_status='55',)
79 env.AddNodeToTestSuite(node, ['small_tests', 'sel_ldr_tests'],
80 'run_old-barebones_hello_world_test')
OLDNEW
« no previous file with comments | « src/trusted/service_runtime/elf_util.c ('k') | tests/prebuilt/arm/gold-barebones_hello_world.nexe » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698