test: compare compiled modules with the Lua 5.4 interpreter
The generated code can only be trusted if it behaves like the reference implementation, so the same script runs both ways and the outputs are diffed.
This commit is contained in:
5 files changed
+250
No files matched your search
@@ -0,0 +1,6 @@
|
||||
-- Reference driver: runs the same Lua module with the stock interpreter.
|
||||
local path = arg[1] or "tests/lua/core.lua"
|
||||
local results = dofile(path)
|
||||
for i = 1, #results do
|
||||
print(results[i])
|
||||
end
|
||||
Reference in new issue
Block a user