diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-05-19 19:54:42 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-05-19 19:54:42 -0700 |
commit | d312b3291c0656ccf76811a3d738c265d406708a (patch) | |
tree | bcf52e39e4e4cea8da2ccdee08131a14071f9458 | |
parent | 705a2da81541cdfd35acc29b101987b70f25fcd5 (diff) |
lua debugging stuff
-rwxr-xr-x | tests/runner.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py index 5472b993..cff43210 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -12974,9 +12974,11 @@ elif 'benchmark' in str(sys.argv): def lua(self, benchmark, expected, output_parser=None, args_processor=None): shutil.copyfile(path_from_root('tests', 'lua', benchmark + '.lua'), benchmark + '.lua') + #shutil.copyfile(path_from_root('tests', 'lua', 'binarytrees.lua'), 'binarytrees.lua') + #shutil.copyfile(path_from_root('tests', 'lua', 'scimark.lua'), 'scimark.lua') emcc_args = self.get_library('lua', [os.path.join('src', 'lua'), os.path.join('src', 'liblua.a')], make=['make', 'generic'], configure=None) + \ ['--embed-file', benchmark + '.lua'] - #['--embed-file', 'binarytrees.lua', '--embed-file', 'scimark.lua'] + #['--embed-file', 'binarytrees.lua', '--embed-file', 'scimark.lua'] + ['--minify', '0'] shutil.copyfile(emcc_args[0], emcc_args[0] + '.bc') emcc_args[0] += '.bc' native_args = self.get_library('lua_native', [os.path.join('src', 'lua'), os.path.join('src', 'liblua.a')], make=['make', 'generic'], configure=None, native=True) |