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

Side by Side Diff: tests/nameservice/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/nacl_log/nacl.scons ('k') | tests/nanosleep/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 (c) 2011 The Native Client Authors. All rights reserved. 2 # Copyright (c) 2011 The Native Client Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 Import('env') 6 Import('env')
7 7
8 env.ComponentProgram('nameservice_test.nexe', 8 nameservice_test_nexe = env.ComponentProgram(
9 'nameservice_test.c', 9 'nameservice_test',
10 EXTRA_LIBS=['srpc', 'imc_syscalls', 10 'nameservice_test.c',
11 'platform', 'gio', 'pthread']) 11 EXTRA_LIBS=['srpc', 'imc_syscalls',
12 'platform', 'gio', 'pthread'])
12 node = env.CommandSelLdrTestNacl( 13 node = env.CommandSelLdrTestNacl(
13 'nameservice_test.out', 14 'nameservice_test.out',
14 command=[env.File('nameservice_test.nexe')]) 15 nameservice_test_nexe)
15 env.AddNodeToTestSuite(node, ['small_tests'], 'run_nameservice_test') 16 env.AddNodeToTestSuite(node, ['small_tests'], 'run_nameservice_test')
16 17
18
17 srpc_ns_obj = env.ComponentObject('srpc_nameservice_test.o', 19 srpc_ns_obj = env.ComponentObject('srpc_nameservice_test.o',
18 'srpc_nameservice_test.c') 20 'srpc_nameservice_test.c')
19 srpc_ns_nexe_name = 'srpc_nameservice_test_%s.nexe' % env.get('TARGET_FULLARCH') 21 srpc_ns_nexe_name = 'srpc_nameservice_test_%s' % env.get('TARGET_FULLARCH')
20 srpc_ns_nexe = env.ComponentProgram(srpc_ns_nexe_name, 22 srpc_ns_nexe = env.ComponentProgram(srpc_ns_nexe_name,
21 srpc_ns_obj, 23 srpc_ns_obj,
22 EXTRA_LIBS=[ 24 EXTRA_LIBS=[
23 'srpc', 25 'srpc',
24 'platform', 26 'platform',
25 'gio', 27 'gio',
26 'imc', 28 'imc',
27 'imc_syscalls', 29 'imc_syscalls',
28 'pthread', 30 'pthread',
29 '${NON_PPAPI_BROWSER_LIBS}']) 31 '${NON_PPAPI_BROWSER_LIBS}'])
30 env.Publish(srpc_ns_nexe_name, 'run', 32 env.Publish(srpc_ns_nexe_name, 'run',
31 ['srpc_nameservice_test.html', 33 ['srpc_nameservice_test.html',
32 'srpc_nameservice.nmf']) 34 'srpc_nameservice.nmf'])
33 35
34 env.AddPrebuiltBinaryToRepository(srpc_ns_nexe) 36 env.AddPrebuiltBinaryToRepository(srpc_ns_nexe)
35 37
36 # chrome_browser_tests 38 # chrome_browser_tests
37 39
38 node = env.PPAPIBrowserTester( 40 node = env.PPAPIBrowserTester(
39 'srpc_ns_browser_test.out', 41 'srpc_ns_browser_test.out',
40 url='srpc_nameservice_test.html', 42 url='srpc_nameservice_test.html',
41 files=env.ExtractPublishedFiles(srpc_ns_nexe_name), 43 files=env.ExtractPublishedFiles(srpc_ns_nexe_name),
42 args=['--debug', '--enable_experimental_js']) 44 args=['--debug', '--enable_experimental_js'])
43 45
44 env.AddNodeToTestSuite(node, 46 env.AddNodeToTestSuite(node,
45 ['chrome_browser_tests'], 47 ['chrome_browser_tests'],
46 'run_srpc_nameservice_chrome_browser_test', 48 'run_srpc_nameservice_chrome_browser_test',
47 is_broken=env.PPAPIBrowserTesterIsBroken()) 49 is_broken=env.PPAPIBrowserTesterIsBroken())
OLDNEW
« no previous file with comments | « tests/nacl_log/nacl.scons ('k') | tests/nanosleep/nacl.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698