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

Unified Diff: tests/nameservice/nacl.scons

Issue 7108031: this patch adds the manifest proxy server to sel_ldr and the manifest (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: '' Created 9 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: tests/nameservice/nacl.scons
===================================================================
--- tests/nameservice/nacl.scons (revision 5616)
+++ tests/nameservice/nacl.scons (working copy)
@@ -13,3 +13,35 @@
'nameservice_test.out',
command=[env.File('nameservice_test.nexe')])
env.AddNodeToTestSuite(node, ['small_tests'], 'run_nameservice_test')
+
+srpc_ns_obj = env.ComponentObject('srpc_nameservice_test.o',
+ 'srpc_nameservice_test.c')
+srpc_ns_nexe_name = 'srpc_nameservice_test_%s.nexe' % env.get('TARGET_FULLARCH')
noelallen_use_chromium 2011/06/14 02:25:45 Why uniquify the nexe name? Won't it go into scon
bsy 2011/06/14 20:30:03 see srpc_hw. that is where this is cargo-culted f
+srpc_ns_nexe = env.ComponentProgram(srpc_ns_nexe_name,
noelallen_use_chromium 2011/06/14 02:25:45 Should have Nick dbl check this.
bsy 2011/06/14 20:30:03 are you asking me to ask nick? fewer redirects, p
+ srpc_ns_obj,
+ EXTRA_LIBS=[
+ 'srpc',
+ 'platform',
+ 'gio',
+ 'imc',
+ 'imc_syscalls',
+ 'pthread',
+ '${NON_PPAPI_BROWSER_LIBS}'])
+env.Publish(srpc_ns_nexe_name, 'run',
+ ['srpc_nameservice_test.html',
+ 'srpc_nameservice.nmf'])
+
+env.AddPrebuiltBinaryToRepository(srpc_ns_nexe)
+
+# chrome_browser_tests
+
+node = env.PPAPIBrowserTester(
+ 'srpc_ns_browser_test.out',
+ url='srpc_nameservice_test.html',
+ files=env.ExtractPublishedFiles(srpc_ns_nexe_name),
+ args=['--debug', '--enable_experimental_js'])
+
+env.AddNodeToTestSuite(node,
+ ['chrome_browser_tests'],
+ 'run_srpc_nameservice_chrome_browser_test',
+ is_broken=env.PPAPIBrowserTesterIsBroken())

Powered by Google App Engine
This is Rietveld 408576698