aboutsummaryrefslogtreecommitdiffstats
path: root/bruiser/lua-scripts/regtest.lua
blob: 9cb1250361d7e6558460a9f474ab8c8a3f589585 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
-- luarocks install luaposix
--local posix = require("posix")

function reg_test()
  local xobj = require("demo1")
  local jmp_table = require("demo2")
  local asm_rewriter = require("asmtest")
  local wasm_import = require("demo3")

  local argparse = require("argparse")

  local parser = argparse("regtest", "bruiser's regression test script")
  parser:flag("-x --xobj")
  parser:flag("-j --jmpt")
  parser:flag("-a --asm")
  parser:flag("-w --wasm")

end

reg_test()