aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-06-13 18:23:47 -0700
committerAlon Zakai <alonzakai@gmail.com>2012-06-13 18:23:47 -0700
commiteb93218eb68901cd76af900d7710b033f4faa7ed (patch)
tree441500dbac3a0b9242a5da6cba3e53dbb5e8257c /tests/runner.py
parentcdd280fef41d1af57ead47819a48f13765cad510 (diff)
s3tc compression support
Diffstat (limited to 'tests/runner.py')
-rwxr-xr-xtests/runner.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 521583ce..58bc3bef 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -7717,6 +7717,10 @@ elif 'browser' in str(sys.argv):
Popen(['python', EMCC, os.path.join(self.get_dir(), 'sdl_canvas_palette_2.c'), '-o', 'page.html', '--pre-js', 'pre.js']).communicate()
self.run_browser('page.html', '')
+ def test_s3tc(self):
+ shutil.copyfile(path_from_root('tests', 'screenshot.dds'), os.path.join(self.get_dir(), 'screenshot.dds'))
+ self.btest('s3tc.c', reference='s3tc.png', args=['--preload-file', 'screenshot.dds'])
+
def test_pre_run_deps(self):
# Adding a dependency in preRun will delay run
open(os.path.join(self.get_dir(), 'pre.js'), 'w').write('''