diff options
-rw-r--r-- | src/shell.js | 12 | ||||
-rw-r--r-- | tests/runner.py | 1 |
2 files changed, 13 insertions, 0 deletions
diff --git a/src/shell.js b/src/shell.js new file mode 100644 index 00000000..7c365d6d --- /dev/null +++ b/src/shell.js @@ -0,0 +1,12 @@ + +var that = this; +// Capture the output of this into a variable, if you want +(function(Module, args) { + Module = Module || {}; + arguments = arguments || []; + + {{BODY}} + + return Module; +}).apply(this, this.arguments); // Replace parameters as needed + diff --git a/tests/runner.py b/tests/runner.py index 36d66af2..ea13326b 100644 --- a/tests/runner.py +++ b/tests/runner.py @@ -955,6 +955,7 @@ if 'benchmark' not in sys.argv: self.do_test(src, output, ['3', '16']) def test_dlmalloc(self): + assert COMPILER_ENGINE != SPIDERMONKEY_ENGINE # See sauer test src = open(path_from_root(['tests', 'dlmalloc.c']), 'r').read() self.do_test(src, '*1,0*') |