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

Unified 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/barebones/nacl.scons
===================================================================
--- tests/barebones/nacl.scons (revision 2282)
+++ tests/barebones/nacl.scons (working copy)
@@ -67,3 +67,14 @@
command=[env.File(nexe)],
exit_status='55',)
env.AddNodeToTestSuite(node, ['small_tests', 'sel_ldr_tests'], test)
+
+# a test that the validador can handle an empty segment after the last
+# real segment. The gold linker produces files this
+if env['BUILD_ARCHITECTURE'] == 'arm':
+ nexe = '${SCONSTRUCT_DIR}/tests/prebuilt/arm/gold-barebones_hello_world.nexe'
+ node = env.CommandSelLdrTestNacl(
+ 'gold-barebones_hello_world.out',
+ command=[env.File(nexe)],
+ exit_status='55',)
+ env.AddNodeToTestSuite(node, ['small_tests', 'sel_ldr_tests'],
+ 'run_old-barebones_hello_world_test')
« 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