diff options
author | Lars Schneider <lars.schneider@autodesk.com> | 2012-09-27 22:26:23 +0200 |
---|---|---|
committer | Lars Schneider <lars.schneider@autodesk.com> | 2012-09-27 22:26:23 +0200 |
commit | dc78d7d7b57919adfd7fd0480213e0950feb75fe (patch) | |
tree | 84e94b762602456c9ead2a4d36d8c119adee6d7f | |
parent | 0c33345f226af403d15f5f83811488aead85b71b (diff) |
Fix assert output.
-rwxr-xr-x | tests/runner.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/runner.py b/tests/runner.py index a55b5ff5..e5b2eada 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -7887,9 +7887,9 @@ elif 'browser' in str(sys.argv): # test HTML generation. self.reftest(path_from_root('tests', 'htmltest.png')) output = Popen(['python', EMCC, path_from_root('tests', 'hello_world_sdl.cpp'), '-o', 'something.js', '--split', '100']).communicate() - assert os.path.exists(os.path.join(self.get_dir(), 'something.js')), 'must be side js' - assert os.path.exists(os.path.join(self.get_dir(), 'something_functions.js')), 'must be side js' - assert os.path.exists(os.path.join(self.get_dir(), 'something.include.html')), 'must be side js' + assert os.path.exists(os.path.join(self.get_dir(), 'something.js')), 'must be main js file' + assert os.path.exists(os.path.join(self.get_dir(), 'something_functions.js')), 'must be functions js file' + assert os.path.exists(os.path.join(self.get_dir(), 'something.include.html')), 'must be js include file' open(os.path.join(self.get_dir(), 'something.html'), 'w').write(''' @@ -7978,9 +7978,9 @@ elif 'browser' in str(sys.argv): def test_split_in_source_filenames(self): self.reftest(path_from_root('tests', 'htmltest.png')) output = Popen(['python', EMCC, path_from_root('tests', 'hello_world_sdl.cpp'), '-o', 'something.js', '-g', '--split', '100']).communicate() - assert os.path.exists(os.path.join(self.get_dir(), 'something.js')), 'must be side js' - assert os.path.exists(self.get_dir() + '/something/' + path_from_root('tests', 'hello_world_sdl.cpp.js')), 'must be side js' - assert os.path.exists(os.path.join(self.get_dir(), 'something.include.html')), 'must be side js' + assert os.path.exists(os.path.join(self.get_dir(), 'something.js')), 'must be main js file' + assert os.path.exists(self.get_dir() + '/something/' + path_from_root('tests', 'hello_world_sdl.cpp.js')), 'must be functions js file' + assert os.path.exists(os.path.join(self.get_dir(), 'something.include.html')), 'must be js include file' open(os.path.join(self.get_dir(), 'something.html'), 'w').write(''' |