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

Unified Diff: tests/chrome_extension/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, 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/browser_startup_time/nacl.scons ('k') | tests/dynamic_code_loading/nacl.scons » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/chrome_extension/nacl.scons
===================================================================
--- tests/chrome_extension/nacl.scons (revision 6583)
+++ tests/chrome_extension/nacl.scons (working copy)
@@ -10,8 +10,9 @@
# BUG(adonovan): test is breaking on ARM. Disable in haste...
if env.Bit('target_arm'):
Return()
+env.Replace(TEST_DIR='${SOURCE_ROOT}/ppapi/native_client/tests/' +
+ 'ppapi_test_example')
-
nexe = 'ppapi_test_example_${TARGET_FULLARCH}${PROGSUFFIX}'
# Note: this test uses the nexe, manifest.json, background.html and
@@ -20,14 +21,17 @@
# These files need their own install command.
dest_copy = env.Replicate('$STAGING_DIR/chrome_extension',
[env.File('$STAGING_DIR/%s' % nexe),
- env.File('$STAGING_DIR/ppapi_test_example.nmf'),
'background.html',
'manifest.json',
'test_bridge.js'])
+dest_copy.append(env.CopyLibsForExtension(
+ '$STAGING_DIR/chrome_extension',
+ '$STAGING_DIR/ppapi_test_example.nmf'))
node = env.PPAPIBrowserTester(
'chrome_extension_test.out',
url='chrome_extension_test.html',
+ nmfs=['${TEST_DIR}/ppapi_test_example.nmf'],
extensions=[env.Dir('$STAGING_DIR/chrome_extension')],
files=[env.File('chrome_extension_test.html')]
)
« no previous file with comments | « tests/browser_startup_time/nacl.scons ('k') | tests/dynamic_code_loading/nacl.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698