aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
authorEhsan Akhgari <ehsan.akhgari@gmail.com>2013-04-06 12:36:08 -0700
committerEhsan Akhgari <ehsan.akhgari@gmail.com>2013-04-06 12:36:08 -0700
commit350a2b08b6b19e57abc57e6ae607edae97a66fa8 (patch)
tree5de65f8e9c83101a2444449d755a71785bb76436 /tests/runner.py
parent75c7e03bc5e282ee3969924c225a0e4545d5258b (diff)
parent6512c70b5487a9328e19a64f8118529eb4f77b55 (diff)
Merge pull request #1010 from azmeuk/openal
Minor OpenAL improvements.
Diffstat (limited to 'tests/runner.py')
-rwxr-xr-xtests/runner.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py
index cf46af2c..4afdaa99 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -11260,6 +11260,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()