Chromium Code Reviews| Index: tests/egyptian_cotton/nacl.scons |
| =================================================================== |
| --- tests/egyptian_cotton/nacl.scons (revision 5756) |
| +++ tests/egyptian_cotton/nacl.scons (working copy) |
| @@ -9,7 +9,8 @@ |
| env.Replace(EXTRA_LIBS=['pthread']) |
| -env.ComponentProgram('egyptian_cotton.nexe', 'egyptian_cotton.c') |
| +egyptian_cotton_nexe = env.ComponentProgram('egyptian_cotton', |
| + 'egyptian_cotton.c') |
| platform_limits_known = False |
| @@ -117,8 +118,9 @@ |
| tests = [t for t in tests if t[0] != 'thread_stack_alloc_test'] |
| def ThreadTestNode(name, args): |
| - cmd = [env.File('egyptian_cotton.nexe')] + args |
| - return env.CommandSelLdrTestNacl(name + '.out', command = cmd) |
| + return env.CommandSelLdrTestNacl(name + '.out', |
| + egyptian_cotton_nexe, |
| + args = args) |
|
Nick Bray
2011/06/23 18:32:24
No spaces around keyword args.
args = args -> arg
pdox
2011/06/23 20:42:58
Done.
|
| nodes = [ ThreadTestNode(name, args) for name, args in tests ] |