diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-04-05 16:59:52 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-04-05 16:59:52 -0700 |
commit | 7d495a7fb70ea87c259cc1faed9b5af3fe92aa3c (patch) | |
tree | 58c05fcf630af9d26c4159a7b07201a3aad8ad17 /tests | |
parent | 7435dffd517feaae18af17533aeb4e83218e0bc1 (diff) |
debug printout
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/runner.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py index 7be9c33f..988af12a 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -9975,6 +9975,7 @@ f.close() if no_initial_run: # Calling main later should still work, filesystem etc. must be set up. + print 'call main later' src = open(os.path.join(self.get_dir(), 'a.out.js')).read() + '\nModule.callMain();\n'; open(os.path.join(self.get_dir(), 'a.out.js'), 'w').write(src) assert 'hello from main' in run_js(os.path.join(self.get_dir(), 'a.out.js')), 'main should print when called manually' |