aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-06-25 11:22:34 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-07-03 15:31:03 -0700
commitcdea2d3385bcb761f9bab982196d5e499858eaf1 (patch)
tree4058cf10464b0fba68a3d4b734311ebab3653557
parent74e60024e3724cfd2ffac2ea574e1051d6381d6b (diff)
test improvements
-rwxr-xr-xtests/runner.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py
index d9f14ed9..30c7d65d 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -10624,7 +10624,8 @@ f.close()
# 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', 'side.js', 'together.js'])
- self.assertContained('hello from side', run_js('together.js'))
+ assert os.path.exists(self.in_dir('together.js'))
+ self.assertContained('hello from side', run_js(self.in_dir('together.js')))
def test_symlink(self):
if os.name == 'nt':