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

Unified Diff: tests/math/nacl.scons

Issue 7242011: Get rid of assumptions about ".nexe" extension. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: '' Created 9 years, 6 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 | « tests/mandel/nacl.scons ('k') | tests/memcheck_test/nacl.scons » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/math/nacl.scons
===================================================================
--- tests/math/nacl.scons (revision 5777)
+++ tests/math/nacl.scons (working copy)
@@ -7,13 +7,13 @@
#--- Version that tests errno conditions
-env.StaticObject('float_math', 'float_math.c')
-env.ComponentProgram('float_math.nexe',
- 'float_math',
- EXTRA_LIBS=['m'])
+float_math_obj = env.StaticObject('float_math', 'float_math.c')
+float_math_nexe = env.ComponentProgram('float_math',
+ float_math_obj,
+ EXTRA_LIBS=['m'])
node = env.CommandSelLdrTestNacl(
'float_math.out',
- command=[env.File('float_math.nexe')],
+ float_math_nexe,
exit_status='55',
)
env.AddNodeToTestSuite(node,
@@ -31,13 +31,16 @@
noerrno_env = env.Clone()
noerrno_env.Append(CCFLAGS=['-fno-math-errno'])
noerrno_env.Append(CPPDEFINES=['NO_ERRNO_CHECK'])
-noerrno_env.StaticObject('float_math_noerrno', 'float_math.c')
-noerrno_env.ComponentProgram('float_math_noerrno.nexe',
- 'float_math_noerrno',
- EXTRA_LIBS=['m'])
+
+float_math_noerrno_obj = noerrno_env.StaticObject('float_math_noerrno',
+ 'float_math.c')
+float_math_noerrno_nexe = noerrno_env.ComponentProgram(
+ 'float_math_noerrno',
+ float_math_noerrno_obj,
+ EXTRA_LIBS=['m'])
node = noerrno_env.CommandSelLdrTestNacl(
'float_math_noerrno.out',
- command=[noerrno_env.File('float_math_noerrno.nexe')],
+ float_math_noerrno_nexe,
exit_status='55',
)
noerrno_env.AddNodeToTestSuite(node,
« no previous file with comments | « tests/mandel/nacl.scons ('k') | tests/memcheck_test/nacl.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698