diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-02-26 15:16:35 -0500 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-02-26 15:16:35 -0500 |
commit | 108f6550f37ed10bef300c93f6158029471f7921 (patch) | |
tree | ca9eebdeb19517f94fe32aa31c9fc5d7e5b37868 /tests/runner.py | |
parent | 556bb55f1b79f5b1420d5cf6d124631aea247a43 (diff) |
do not emit EMSCRIPTEN_GENERATED_FUNCTIONS to the final output, it is just needed internally
Diffstat (limited to 'tests/runner.py')
-rwxr-xr-x | tests/runner.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py index 0368720d..aae4c460 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -507,6 +507,8 @@ if 'benchmark' not in str(sys.argv) and 'sanity' not in str(sys.argv) and 'brows ''' self.do_run(src, 'hello, world!') + assert 'EMSCRIPTEN_GENERATED_FUNCTIONS' not in open(self.in_dir('src.cpp.o.js')).read(), 'must not emit this unneeded internal thing' + def test_intvars(self): if self.emcc_args == None: return self.skip('needs ta2') |