diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-06-25 11:22:34 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-07-03 15:31:03 -0700 |
commit | cdea2d3385bcb761f9bab982196d5e499858eaf1 (patch) | |
tree | 4058cf10464b0fba68a3d4b734311ebab3653557 | |
parent | 74e60024e3724cfd2ffac2ea574e1051d6381d6b (diff) |
test improvements
-rwxr-xr-x | tests/runner.py | 3 |
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': |