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

Side by Side Diff: tests/dynamic_linking/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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tests/dynamic_code_loading/nacl.scons ('k') | tests/earth/nacl.scons » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # -*- python -*- 1 # -*- python -*-
2 # Copyright 2010 The Native Client Authors. All rights reserved. 2 # Copyright 2010 The Native Client Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can 3 # Use of this source code is governed by a BSD-style license that can
4 # be found in the LICENSE file. 4 # be found in the LICENSE file.
5 5
6 Import('env') 6 Import('env')
7 7
8 if not env.Bit('nacl_glibc'): 8 if not env.Bit('nacl_glibc'):
9 Return() 9 Return()
10 10
11 env.ComponentProgram('dlopen_test.nexe', 'dlopen_test.c', EXTRA_LIBS=['dl']) 11 nexe = env.ComponentProgram('dlopen_test', 'dlopen_test.c', EXTRA_LIBS=['dl'])
12 12
13 dlopen_test = env.CommandSelLdrTestNacl( 13 dlopen_test = env.CommandSelLdrTestNacl('dlopen_test.out', nexe)
14 'dlopen_test.out',
15 command=[env.File('dlopen_test.nexe')])
16 14
17 # This particular test does not work with static linking, although 15 # This particular test does not work with static linking, although
18 # dlopen() can work with a statically-linked main executable in 16 # dlopen() can work with a statically-linked main executable in
19 # general. 17 # general.
20 if not env.Bit('nacl_static_link'): 18 if not env.Bit('nacl_static_link'):
21 env.AddNodeToTestSuite(dlopen_test, ['small_tests'], 'run_dlopen_test') 19 env.AddNodeToTestSuite(dlopen_test, ['small_tests'], 'run_dlopen_test')
OLDNEW
« no previous file with comments | « tests/dynamic_code_loading/nacl.scons ('k') | tests/earth/nacl.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698