1
0
Fork 0
mirror of https://github.com/Reuh/anselme.git synced 2025-10-27 16:49:31 +00:00

[tests] move run_tests.sh to test/run_all.sh

This commit is contained in:
Étienne Fildadut 2024-06-01 13:53:59 +02:00
parent 8364f5b9a2
commit 1ea315092b
2 changed files with 1 additions and 1 deletions

21
test/run_all.sh Executable file
View 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