aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-06-24 16:36:05 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-07-03 15:31:03 -0700
commitf2178dcdd562f49c9f668c6afae20386168c72b6 (patch)
tree404b92ed52d97f6508df14526ac90b5e5ee5e92f /tests/runner.py
parentc8ba74664f1ce245918cbcd4e5a9b7dc41fc404f (diff)
start to parse asm modules
Diffstat (limited to 'tests/runner.py')
-rwxr-xr-xtests/runner.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 2c06c02f..e2545dee 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -10621,6 +10621,7 @@ f.close()
}
''')
Popen([PYTHON, EMCC, os.path.join(self.get_dir(), 'lib.cpp'), '-o', 'lib.js', '-s', 'SIDE_MODULE=1', '-O2']).communicate()
+ # TODO: test with and without DISABLE_GL_EMULATION, check that file sizes change
Popen([PYTHON, EMCC, os.path.join(self.get_dir(), 'main.cpp'), '-o', 'main.js', '-s', 'MAIN_MODULE=1', '-O2', '-s', 'DISABLE_GL_EMULATION=1']).communicate()
Popen([PYTHON, EMLINK, 'main.js', 'lib.js', 'together.js'])
self.assertContained('hello from lib', run_js('together.js'))