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

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

Issue 7655003: Make chrome_browser_tests work with irt=0 again (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Created 9 years, 4 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) 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', 22 '${PTHREAD_LIBS}',
23 ]) 23 ])
24 env.Publish(imc_shm_mmap_test_nexe_name, 'run', ['imc_shm_mmap_test.nmf']) 24 env.Publish(imc_shm_mmap_test_nexe_name, 'run', ['imc_shm_mmap_test.nmf'])
25 25
26 imc_shm_mmap_test_nonbrowser = env.ComponentProgram( 26 imc_shm_mmap_test_nonbrowser = env.ComponentProgram(
27 'imc_shm_mmap_test_nonbrowser', 27 'imc_shm_mmap_test_nonbrowser',
28 objs, 28 objs,
29 EXTRA_LIBS=test_libs + ['${PTHREAD_LIBS}', '${NONIRT_LIBS}']) 29 EXTRA_LIBS=test_libs + ['${PTHREAD_LIBS}', '${NONIRT_LIBS}'])
30 30
31 node = env.CommandSelLdrTestNacl( 31 node = env.CommandSelLdrTestNacl(
32 'imc_shm_mmap_test.out', 32 'imc_shm_mmap_test.out',
33 imc_shm_mmap_test_nonbrowser, 33 imc_shm_mmap_test_nonbrowser,
34 # We need to set this because the test needs to behave 34 # We need to set this because the test needs to behave
35 # differently in the plugin, but the plugin does not provide a 35 # differently in the plugin, but the plugin does not provide a
36 # way to distinguish itself. TODO(mseaborn): Fix that. 36 # way to distinguish itself. TODO(mseaborn): Fix that.
37 # See http://code.google.com/p/nativeclient/issues/detail?id=889 37 # See http://code.google.com/p/nativeclient/issues/detail?id=889
38 sel_ldr_flags=['-E', 'NACL_SRPC_STANDALONE=1']) 38 sel_ldr_flags=['-E', 'NACL_SRPC_STANDALONE=1'])
39 env.AddNodeToTestSuite(node, ['small_tests'], 'run_imc_shm_mmap_test') 39 env.AddNodeToTestSuite(node, ['small_tests'], 'run_imc_shm_mmap_test')
OLDNEW
« SConstruct ('K') | « SConstruct ('k') | tests/inbrowser_crash_test/nacl.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698