aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
authorAnthony Pesch <inolen@gmail.com>2013-08-06 23:46:54 -0700
committerAnthony Pesch <inolen@gmail.com>2013-08-06 23:50:06 -0700
commit10839f06ce2b14437ae60c61ff65f7de3b2d1ca2 (patch)
tree79b0828f49ab81deb4d8b0ff9ee04f4bcd10b68b /tests/runner.py
parentd6cde3066305358ad1b0f074eedc0b307774ce72 (diff)
Updated test_sdl_image to more extensively test relative paths
Diffstat (limited to 'tests/runner.py')
-rwxr-xr-xtests/runner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 46096213..47bf7a7c 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -13045,7 +13045,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()))
for mem in [0, 1]:
- Popen([PYTHON, EMCC, os.path.join(self.get_dir(), 'sdl_image.c'), '-O2', '--preload-file', 'screenshot.jpg', '-o', 'page.html', '--memory-init-file', str(mem)]).communicate()
+ Popen([PYTHON, EMCC, os.path.join(self.get_dir(), 'sdl_image.c'), '-O2', '--preload-file', 'screenshot.jpg@/assets/screenshot.jpg', '-o', 'page.html', '--memory-init-file', str(mem)]).communicate()
self.run_browser('page.html', '', '/report_result?600')
def test_sdl_image_jpeg(self):