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

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

Issue 7745047: Enable browser tests with glibc. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: '' Created 9 years, 3 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/earth/nacl.scons ('k') | tests/inbrowser_crash_test/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 test_libs = ['testrunner', 8 test_libs = ['testrunner',
9 'srpc', 9 'srpc',
10 'imc_syscalls', 10 'imc_syscalls',
11 'platform', 11 'platform',
12 'gio'] 12 'gio']
13 13
14 objs = env.ComponentObject('imc_shm_mmap_test', 'imc_shm_mmap_test.c') 14 objs = env.ComponentObject('imc_shm_mmap_test', 'imc_shm_mmap_test.c')
15 15
16 imc_shm_mmap_test_nexe_name = ('imc_shm_mmap_test_%s' % 16 imc_shm_mmap_test_nexe_name = ('imc_shm_mmap_test_%s' %
17 env.get('TARGET_FULLARCH')) 17 env.get('TARGET_FULLARCH'))
18 imc_shm_mmap_test_nexe = env.ComponentProgram(imc_shm_mmap_test_nexe_name, 18 imc_shm_mmap_test_nexe = env.ComponentProgram(imc_shm_mmap_test_nexe_name,
19 objs, 19 objs,
20 EXTRA_LIBS=test_libs + [ 20 EXTRA_LIBS=test_libs + [
21 '${NON_PPAPI_BROWSER_LIBS}', 21 '${NON_PPAPI_BROWSER_LIBS}',
22 '${PTHREAD_LIBS}', 22 '${PTHREAD_LIBS}',
23 ]) 23 ])
24 env.Publish(imc_shm_mmap_test_nexe_name, 'run', ['imc_shm_mmap_test.nmf'])
25 24
26 imc_shm_mmap_test_nonbrowser = env.ComponentProgram( 25 imc_shm_mmap_test_nonbrowser = env.ComponentProgram(
27 'imc_shm_mmap_test_nonbrowser', 26 'imc_shm_mmap_test_nonbrowser',
28 objs, 27 objs,
29 EXTRA_LIBS=test_libs + ['${PTHREAD_LIBS}', '${NONIRT_LIBS}']) 28 EXTRA_LIBS=test_libs + ['${PTHREAD_LIBS}', '${NONIRT_LIBS}'])
30 29
31 node = env.CommandSelLdrTestNacl( 30 node = env.CommandSelLdrTestNacl(
32 'imc_shm_mmap_test.out', 31 'imc_shm_mmap_test.out',
33 imc_shm_mmap_test_nonbrowser, 32 imc_shm_mmap_test_nonbrowser,
34 # We need to set this because the test needs to behave 33 # We need to set this because the test needs to behave
35 # differently in the plugin, but the plugin does not provide a 34 # differently in the plugin, but the plugin does not provide a
36 # way to distinguish itself. TODO(mseaborn): Fix that. 35 # way to distinguish itself. TODO(mseaborn): Fix that.
37 # See http://code.google.com/p/nativeclient/issues/detail?id=889 36 # See http://code.google.com/p/nativeclient/issues/detail?id=889
38 sel_ldr_flags=['-E', 'NACL_SRPC_STANDALONE=1']) 37 sel_ldr_flags=['-E', 'NACL_SRPC_STANDALONE=1'])
39 env.AddNodeToTestSuite(node, ['small_tests'], 'run_imc_shm_mmap_test') 38 env.AddNodeToTestSuite(node, ['small_tests'], 'run_imc_shm_mmap_test')
OLDNEW
« no previous file with comments | « tests/earth/nacl.scons ('k') | tests/inbrowser_crash_test/nacl.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698