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

Side by Side Diff: tests/nameservice/nacl.scons

Issue 797843003: Remove src/trusted/manifest_name_service_proxy/ (old open_resource() impl) (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Remove test Created 5 years, 11 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
OLDNEW
1 # -*- python -*- 1 # -*- python -*-
2 # Copyright (c) 2012 The Native Client Authors. All rights reserved. 2 # Copyright (c) 2012 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 nameservice_test_nexe = env.ComponentProgram( 8 nameservice_test_nexe = env.ComponentProgram(
9 'nameservice_test', 9 'nameservice_test',
10 'nameservice_test.c', 10 'nameservice_test.c',
11 EXTRA_LIBS=['srpc', 11 EXTRA_LIBS=['srpc',
12 'imc_syscalls', 12 'imc_syscalls',
13 'platform', 13 'platform',
14 'gio', 14 'gio',
15 '${PTHREAD_LIBS}', 15 '${PTHREAD_LIBS}',
16 '${NONIRT_LIBS}']) 16 '${NONIRT_LIBS}'])
17 node = env.CommandSelLdrTestNacl( 17 node = env.CommandSelLdrTestNacl(
18 'nameservice_test.out', 18 'nameservice_test.out',
19 nameservice_test_nexe) 19 nameservice_test_nexe)
20 env.AddNodeToTestSuite(node, ['small_tests'], 'run_nameservice_test') 20 env.AddNodeToTestSuite(node, ['small_tests'], 'run_nameservice_test')
21
22
23 srpc_ns_obj = env.ComponentObject('srpc_nameservice_test.o',
24 'srpc_nameservice_test.c')
25 srpc_ns_nexe_name = env.ProgramNameForNmf('srpc_nameservice_test')
26 srpc_ns_nexe = env.ComponentProgram(srpc_ns_nexe_name,
27 srpc_ns_obj,
28 EXTRA_LIBS=[
29 'srpc',
30 'platform',
31 'gio',
32 'imc',
33 'imc_syscalls',
34 '${NONIRT_LIBS}',
35 '${PTHREAD_LIBS}'])
36 env.Publish(srpc_ns_nexe_name, 'run',
37 ['srpc_nameservice_test.html'])
38
39 # sel_universal test
40
41 node = env.SelUniversalTest(
42 'srpc_nameservice_test.out',
43 srpc_ns_nexe,
44 sel_universal_flags=['--uses_reverse_service',
45 '--command_file',
46 env.File('srpc_nameservice_test.stdin')],
47 stdout_golden=env.File('srpc_nameservice_test.stdout'),
48 )
49 env.AddNodeToTestSuite(node,
50 ['small_tests'],
51 'run_srpc_nameservice_test')
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698