Index: ppapi/native_client/tests/ppapi_example_font/nacl.scons |
=================================================================== |
--- ppapi/native_client/tests/ppapi_example_font/nacl.scons (revision 98496) |
+++ ppapi/native_client/tests/ppapi_example_font/nacl.scons (working copy) |
@@ -8,6 +8,8 @@ |
Import('env') |
env.Prepend(CPPDEFINES=['XP_UNIX']) |
+env.Replace(TEST_DIR='${SOURCE_ROOT}/ppapi/native_client/tests/' + |
+ 'ppapi_example_font/') |
# Adjust compiler flags to the more forgiving standards used in |
# ppapi/examples/*. |
@@ -24,10 +26,11 @@ |
# Note that the html is required to run this program. |
env.Publish(nexe_name, 'run', |
- ['ppapi_example_font.html', 'ppapi_example_font.nmf']) |
+ ['ppapi_example_font.html']) |
test = env.PPAPIBrowserTester('ppapi_example_font_test.out', |
url='ppapi_example_font.html', |
+ nmf='${TEST_DIR}/ppapi_example_font.nmf', |
files=env.ExtractPublishedFiles(nexe_name)) |
env.AddNodeToTestSuite(test, |