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

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

Issue 7605029: Extend IRT with nacl_irt_resource_open interface (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: remove empty lines 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 srpc_mf_obj = env.ComponentObject('srpc_manifest_file_test.o', 8 srpc_mf_obj = env.ComponentObject('srpc_manifest_file_test.o',
9 'srpc_manifest_file_test.c') 9 'srpc_manifest_file_test.c')
10 srpc_mf_nexe_name = 'srpc_manifest_file_test_%s' % env.get('TARGET_FULLARCH') 10 srpc_mf_nexe_name = 'srpc_manifest_file_test_%s' % env.get('TARGET_FULLARCH')
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 files=env.ExtractPublishedFiles(pm_pi_mf_nexe_name), 106 files=env.ExtractPublishedFiles(pm_pi_mf_nexe_name),
107 args=['--debug'], 107 args=['--debug'],
108 # osenv=['NACLVERBOSITY=4,pp_weak_ref=4,weak_ref=4'] 108 # osenv=['NACLVERBOSITY=4,pp_weak_ref=4,weak_ref=4']
109 ) 109 )
110 110
111 if not env.Bit('irt'): 111 if not env.Bit('irt'):
112 env.AddNodeToTestSuite(node, 112 env.AddNodeToTestSuite(node,
113 ['chrome_browser_tests'], 113 ['chrome_browser_tests'],
114 'run_pm_pi_manifest_file_chrome_browser_test', 114 'run_pm_pi_manifest_file_chrome_browser_test',
115 is_broken=env.PPAPIBrowserTesterIsBroken()) 115 is_broken=env.PPAPIBrowserTesterIsBroken())
116
117 # irt version
118
119 irt_mf_obj = env.ComponentObject('irt_manifest_file_test.o',
120 'irt_manifest_file_test.cc')
121 irt_mf_nexe_name = 'irt_manifest_file_test_%s' % env.get('TARGET_FULLARCH')
122 irt_mf_nexe = env.ComponentProgram(irt_mf_nexe_name,
123 irt_mf_obj,
124 EXTRA_LIBS=['nacl_ppapi_util',
125 'weak_ref',
126 'ppapi_cpp',
127 '${PPAPI_LIBS}',
128 'pthread',
129 'srpc',
130 'platform',
131 'gio',
132 'imc',
133 'imc_syscalls',
134 ])
135 env.Publish(irt_mf_nexe_name, 'run',
136 ['irt_manifest_file_test.html',
137 'irt_manifest_file.nmf'])
138
139 # chrome_browser_tests
140
141 node = env.PPAPIBrowserTester(
142 'irt_mf_browser_test.out',
143 url='irt_manifest_file_test.html',
144 files=env.ExtractPublishedFiles(irt_mf_nexe_name),
145 args=['--debug'],
146 # osenv=['NACLVERBOSITY=4,pp_weak_ref=4,weak_ref=4']
147 )
148
149 env.AddNodeToTestSuite(node,
150 ['chrome_browser_tests'],
151 'run_irt_manifest_file_chrome_browser_test',
152 is_broken=env.PPAPIBrowserTesterIsBroken())
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698