aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-03-28 18:12:35 -0700
committerAlon Zakai <alonzakai@gmail.com>2012-03-28 18:12:35 -0700
commitc59be6c704df423ebeabb21b25dafbb90079dcd3 (patch)
tree3ffc71b946a5f712302e44950d502dc0d0d6915c /tests/runner.py
parent2aeafa0df7460b21705971309e8cdc0b48954f0e (diff)
add testcase for issue 324
Diffstat (limited to 'tests/runner.py')
-rwxr-xr-xtests/runner.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 41a2a2dc..95c892f8 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -4711,6 +4711,15 @@ def process(filename):
post_build=post)
#build_ll_hook=self.do_autodebug)
+ # Second testcase, github issue 324
+ print '[issue 324]'
+ self.do_run(open(path_from_root('tests', 'freetype', 'main_2.c'), 'r').read(),
+ open(path_from_root('tests', 'freetype', 'ref_2.txt'), 'r').read(),
+ ['font.ttf', 'w', '32', '32', '25'],
+ libraries=self.get_freetype(),
+ includes=[path_from_root('tests', 'freetype', 'include')],
+ post_build=post)
+
def test_sqlite(self):
# gcc -O3 -I/home/alon/Dev/emscripten/tests/sqlite -ldl src.c
if self.emcc_args is None: return self.skip('Very slow without ta2, and we would also need to include dlmalloc manually without emcc')