Re: question about LuaJIT testsuite

  • From: "Jiong. Wang" <wong.kwongyuan@xxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Fri, 29 Nov 2013 23:55:14 +0800

Hi Mike,

on 2013/11/29 20:45, Mike Pall wrote:
Jiong. Wang wrote:
Is there any specific testsuite which I could reuse to verify my LuaJIT
backend.
I have a test suite. But I cannot easily release it because I made
the mistake to just collect snippets from everywhere with various
attributions and copyrights and didn't bother to write down where
I got them from. I really don't have the time or energy to sort it
all out.

Also, there's a test suite for Lua 5.1. But it's not geared towards
testing a JIT compiler. And it doesn't differentiate between
language-specific tests and implementation-specific tests. It can be
used to test parts of the LuaJIT interpreter with a few changes.

Got it, then I will go ahead bug fixing on TileGX backend by trying to bootstrap LuaJIT by luajit itself.

Is there a publicly available emulator for the architecture?
Similar to QEMU user-mode? If yes, then I can offer to run my
tests against it.

BTW: I hope you based your work on LuaJIT 2.1 as this is the
      mainline for new developments.

  thanks very much for your suggestion.

yes, my code is based on your lastest git, and my port is based on your MIPS target code

For emualtor, we do have an emulator which could bootup linux but it's very slow, and we are happy to offer it to you once the assembly optimized VM interpreter for TileGX is ready (JIT will be
  enabled later)

thanks.

Regards,
Jiong

--Mike



Other related posts: