mirror of
https://github.com/Reuh/anselme.git
synced 2025-10-28 00:59:31 +00:00
First test batch and associated fixes
The test runner is also nicer to use.
This commit is contained in:
parent
10084dec23
commit
82ce53be83
154 changed files with 1586 additions and 78 deletions
21
run tests.sh
Executable file
21
run tests.sh
Executable file
|
|
@ -0,0 +1,21 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Run the test suite accross supported Lua versions.
|
||||
# Note that the test suite require luafilesystem: `luarocks --lua-version=5.4 install luafilesystem`
|
||||
|
||||
echo "/----------------------------\\"
|
||||
echo "| Running tests with Lua 5.4 |"
|
||||
echo "\\----------------------------/"
|
||||
lua5.4 test/run.lua
|
||||
echo ""
|
||||
|
||||
echo "/----------------------------\\"
|
||||
echo "| Running tests with Lua 5.3 |"
|
||||
echo "\\----------------------------/"
|
||||
lua5.3 test/run.lua
|
||||
echo ""
|
||||
|
||||
echo "/---------------------------\\"
|
||||
echo "| Running tests with LuaJIT |"
|
||||
echo "\\---------------------------/"
|
||||
luajit test/run.lua
|
||||
Loading…
Add table
Add a link
Reference in a new issue