Index: tests/barebones/nacl.scons |
=================================================================== |
--- tests/barebones/nacl.scons (revision 5769) |
+++ 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, |
jvoung - send to chromium...
2011/06/23 21:55:23
nit: does this fit all on one line now?
pdox
2011/06/23 22:03:31
Done.
|
exit_status='55',) |
env.AddNodeToTestSuite(node, |
['small_tests', 'sel_ldr_tests', 'barebones_tests'], |
@@ -76,13 +75,15 @@ |
is_broken=is_broken) |
-# a test that the validador can handle an empty segment after the last |
+# a test that the validator can handle an empty segment after the last |
# 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${PROGSUFFIX}' |
+ ) |
node = env.CommandSelLdrTestNacl( |
'gold-barebones_hello_world.out', |
- command=[env.File(nexe)], |
+ nexe, |
exit_status='55',) |
env.AddNodeToTestSuite(node, |
['small_tests', 'sel_ldr_tests'], |