Index: tests/glibc_static_test/nacl.scons |
=================================================================== |
--- tests/glibc_static_test/nacl.scons (revision 5777) |
+++ tests/glibc_static_test/nacl.scons (working copy) |
@@ -34,12 +34,11 @@ |
'-T', 'ldscripts/%s.x.static' % GetLinkerScriptBaseName(env), |
'-lc'] |
) |
-env.ComponentProgram( |
- 'glibc_static_hello.nexe', |
- 'glibc_static_hello.c') |
+nexe = env.ComponentProgram('glibc_static_hello', 'glibc_static_hello.c') |
+ |
node = env.CommandSelLdrTestNacl( |
'glibc_static_hello.out', |
- command=[env.File('glibc_static_hello.nexe')], |
+ nexe, |
stdout_golden=env.File('glibc_static_hello.stdout'), |
glibc_static=True) |
env.AddNodeToTestSuite(node, ['small_tests'], 'run_glibc_static_hello_test') |