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')] |
) |