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

Side by Side Diff: tests/nameservice/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/manifest_file/test_file.txt ('k') | tests/srpc/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 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',
(...skipping 16 matching lines...) Expand all
27 srpc_ns_obj, 27 srpc_ns_obj,
28 EXTRA_LIBS=[ 28 EXTRA_LIBS=[
29 'srpc', 29 'srpc',
30 'platform', 30 'platform',
31 'gio', 31 'gio',
32 'imc', 32 'imc',
33 'imc_syscalls', 33 'imc_syscalls',
34 '${PTHREAD_LIBS}', 34 '${PTHREAD_LIBS}',
35 '${NON_PPAPI_BROWSER_LIBS}']) 35 '${NON_PPAPI_BROWSER_LIBS}'])
36 env.Publish(srpc_ns_nexe_name, 'run', 36 env.Publish(srpc_ns_nexe_name, 'run',
37 ['srpc_nameservice_test.html', 37 ['srpc_nameservice_test.html'])
38 'srpc_nameservice.nmf'])
39 38
40 # chrome_browser_tests 39 # chrome_browser_tests
41 40
42 node = env.PPAPIBrowserTester( 41 node = env.PPAPIBrowserTester(
43 'srpc_nameservice_browser_test.out', 42 'srpc_nameservice_browser_test.out',
44 url='srpc_nameservice_test.html', 43 url='srpc_nameservice_test.html',
44 nmfs=['srpc_nameservice.nmf'],
45 files=env.ExtractPublishedFiles(srpc_ns_nexe_name), 45 files=env.ExtractPublishedFiles(srpc_ns_nexe_name),
46 args=['--debug', '--enable_experimental_js']) 46 args=['--debug', '--enable_experimental_js'])
47 47
48 env.AddNodeToTestSuite(node, 48 env.AddNodeToTestSuite(node,
49 ['chrome_browser_tests'], 49 ['chrome_browser_tests'],
50 'run_srpc_nameservice_chrome_browser_test', 50 'run_srpc_nameservice_chrome_browser_test',
51 is_broken=env.PPAPIBrowserTesterIsBroken()) 51 is_broken=env.PPAPIBrowserTesterIsBroken())
52 52
53 # postmessage version of srpc_nameservice_test 53 # postmessage version of srpc_nameservice_test
54 54
55 pm_ns_obj = env.ComponentObject('pm_nameservice_test.o', 55 pm_ns_obj = env.ComponentObject('pm_nameservice_test.o',
56 'pm_nameservice_test.cc') 56 'pm_nameservice_test.cc')
57 pm_ns_nexe_name = 'pm_nameservice_test_%s' % env.get('TARGET_FULLARCH') 57 pm_ns_nexe_name = 'pm_nameservice_test_%s' % env.get('TARGET_FULLARCH')
58 pm_ns_nexe = env.ComponentProgram(pm_ns_nexe_name, 58 pm_ns_nexe = env.ComponentProgram(pm_ns_nexe_name,
59 pm_ns_obj, 59 pm_ns_obj,
60 EXTRA_LIBS=['nacl_ppapi_util', 60 EXTRA_LIBS=['nacl_ppapi_util',
61 'ppapi_cpp', 61 'ppapi_cpp',
62 '${PPAPI_LIBS}', 62 '${PPAPI_LIBS}',
63 'pthread', 63 'pthread',
64 'srpc', 64 'srpc',
65 'platform', 65 'platform',
66 'gio', 66 'gio',
67 'imc', 67 'imc',
68 'imc_syscalls', 68 'imc_syscalls',
69 ]) 69 ])
70 env.Publish(pm_ns_nexe_name, 'run', 70 env.Publish(pm_ns_nexe_name, 'run',
71 ['pm_nameservice_test.html', 71 ['pm_nameservice_test.html'])
72 'pm_nameservice.nmf'])
73 72
74 # chrome_browser_tests 73 # chrome_browser_tests
75 74
76 node = env.PPAPIBrowserTester( 75 node = env.PPAPIBrowserTester(
77 'pm_nameservice_browser_test.out', 76 'pm_nameservice_browser_test.out',
78 url='pm_nameservice_test.html', 77 url='pm_nameservice_test.html',
78 nmfs=['pm_nameservice.nmf'],
79 files=env.ExtractPublishedFiles(pm_ns_nexe_name), 79 files=env.ExtractPublishedFiles(pm_ns_nexe_name),
80 args=['--debug'], 80 args=['--debug'],
81 osenv=['NACLVERBOSITY=0:pp_weak_ref=0:weak_ref=0'] 81 osenv=['NACLVERBOSITY=0:pp_weak_ref=0:weak_ref=0']
82 ) 82 )
83 83
84 env.AddNodeToTestSuite(node, 84 env.AddNodeToTestSuite(node,
85 ['chrome_browser_tests'], 85 ['chrome_browser_tests'],
86 'run_pm_nameservice_chrome_browser_test', 86 'run_pm_nameservice_chrome_browser_test',
87 is_broken=env.PPAPIBrowserTesterIsBroken()) 87 is_broken=env.PPAPIBrowserTesterIsBroken() or
88 env.Bit('nacl_glibc'))
OLDNEW
« no previous file with comments | « tests/manifest_file/test_file.txt ('k') | tests/srpc/nacl.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698