aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Pesch <inolen@gmail.com>2013-08-07 00:44:38 -0700
committerAnthony Pesch <inolen@gmail.com>2013-08-07 00:44:38 -0700
commit41fd7d359392c7e47b97c698bc522fbfa189d797 (patch)
tree085366d679037d49a4b6b229d747cde7521f5e0e
parent10839f06ce2b14437ae60c61ff65f7de3b2d1ca2 (diff)
fix for test_sdl_image_compressed
-rwxr-xr-xtests/runner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 47bf7a7c..2f215159 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -13065,7 +13065,7 @@ Press any key to continue.'''
open(os.path.join(self.get_dir(), 'sdl_image.c'), 'w').write(self.with_report_result(open(path_from_root('tests', 'sdl_image.c')).read()).replace('screenshot.jpg', basename))
self.build_native_lzma()
- Popen([PYTHON, EMCC, os.path.join(self.get_dir(), 'sdl_image.c'), '--preload-file', basename, '-o', 'page.html',
+ Popen([PYTHON, EMCC, os.path.join(self.get_dir(), 'sdl_image.c'), '--preload-file', basename + '@/assets/' + basename, '-o', 'page.html',
'--compression', '%s,%s,%s' % (path_from_root('third_party', 'lzma.js', 'lzma-native'),
path_from_root('third_party', 'lzma.js', 'lzma-decoder.js'),
'LZMA.decompress')]).communicate()