diff options
author | Éloi Rivard <azmeuk@gmail.com> | 2013-04-04 23:28:51 +0200 |
---|---|---|
committer | Éloi Rivard <azmeuk@gmail.com> | 2013-04-05 10:26:20 +0200 |
commit | 4aa4db6f10f3a065a0f20942fa671ffff5b9ae05 (patch) | |
tree | 8aeb833751896d0a5e5c61c7a040e00dcc7645f0 /tests/runner.py | |
parent | 783959338a8ea3f380c7287efd7d2bf151b6e140 (diff) |
* Added freealut testcase.
Diffstat (limited to 'tests/runner.py')
-rwxr-xr-x | tests/runner.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py index 23935656..62a85085 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -11246,6 +11246,12 @@ elif 'browser' in str(sys.argv): Popen([PYTHON, EMCC, '-O2', os.path.join(self.get_dir(), 'glfw.c'), '-o', 'page.html']).communicate() self.run_browser('page.html', '', '/report_result?1') + def test_freealut(self): + programs = self.get_library('freealut', os.path.join('examples', 'hello_world.bc'), make_args=['EXEEXT=.bc']) + for program in programs: + Popen([PYTHON, EMCC, '-O2', program, '-o', 'page.html']).communicate() + self.run_browser('page.html', 'You should hear "Hello World!"') + def test_worker(self): # Test running in a web worker output = Popen([PYTHON, EMCC, path_from_root('tests', 'hello_world_worker.cpp'), '-o', 'worker.js'], stdout=PIPE, stderr=PIPE).communicate() |