Index: tests/barebones/nacl.scons |
=================================================================== |
--- tests/barebones/nacl.scons (revision 5756) |
+++ tests/barebones/nacl.scons (working copy) |
@@ -58,17 +58,16 @@ |
if env.IsRunningUnderValgrind(): continue |
src = 'barebones_' + basename + '.c' |
- nexe = 'barebones_' + basename + '.nexe' |
+ nexe_name = 'barebones_' + basename |
out = 'barebones_' + basename + '.out' |
test = 'run_barebones_' + basename + '_test' |
test = 'run_barebones_' + basename + '_test' |
- env.ComponentProgram(nexe, [FAKE_STARTUP, src]) |
+ nexe = env.ComponentProgram(nexe_name, [FAKE_STARTUP, src]) |
# NOTE: we avoid using zero as the "good" exit status and just |
# arbitrarily picked 55. All tests are coded to follow this model. |
node = env.CommandSelLdrTestNacl( |
- out, |
- command=[env.File(nexe)], |
+ out, nexe, |
exit_status='55',) |
env.AddNodeToTestSuite(node, |
['small_tests', 'sel_ldr_tests', 'barebones_tests'], |
@@ -79,10 +78,10 @@ |
# a test that the validador can handle an empty segment after the last |
Nick Bray
2011/06/23 18:32:24
Spelling
pdox
2011/06/23 20:42:58
Done.
|
# real segment. The gold linker produces files this |
if env.Bit('build_arm') and not env.Bit('bitcode'): |
- nexe = '${SCONSTRUCT_DIR}/tests/prebuilt/arm/gold-barebones_hello_world.nexe' |
+ nexe = env.File('${SCONSTRUCT_DIR}/tests/prebuilt/arm/gold-barebones_hello_world.nexe') |
Nick Bray
2011/06/23 18:32:24
Line length.
pdox
2011/06/23 20:42:58
Done.
|
node = env.CommandSelLdrTestNacl( |
'gold-barebones_hello_world.out', |
- command=[env.File(nexe)], |
+ nexe, |
exit_status='55',) |
env.AddNodeToTestSuite(node, |
['small_tests', 'sel_ldr_tests'], |