diff --git a/amalg-scm-0.rockspec b/amalg-scm-0.rockspec index 38e4ca8..20ba15a 100644 --- a/amalg-scm-0.rockspec +++ b/amalg-scm-0.rockspec @@ -14,7 +14,7 @@ description = { license = "MIT" } dependencies = { - "lua >= 5.1, < 5.4" + "lua >= 5.1, < 5.5" } build = { type = "builtin", diff --git a/tests/run.bat b/tests/run.bat index b580a8a..b9b99fe 100644 --- a/tests/run.bat +++ b/tests/run.bat @@ -8,6 +8,8 @@ if [%1]==[51] ( call :runtest 52 ) else if [%1]==[53] ( call :runtest 53 +) else if [%1]==[54] ( + call :runtest 54 ) else ( call :runtest 51 ) diff --git a/tests/run.sh b/tests/run.sh index ae903e2..10c7fec 100755 --- a/tests/run.sh +++ b/tests/run.sh @@ -1,11 +1,15 @@ #!/bin/bash -e LUAV=$1 -if [ x"$1" != x5.1 -a x"$1" != x5.2 -a x"$1" != x5.3 ]; then +if [ x"$1" != x5.1 -a x"$1" != x5.2 -a x"$1" != x5.3 -a x"$1" != x5.4 ]; then LUAV=5.1 fi -INC=/usr/include/lua$LUAV +if [ "$LUAV" == 5.4 ]; then + INC=/home/siffiejoe/.self/programs/lua$LUAV +else + INC=/usr/include/lua$LUAV +fi gcc -Wall -Wextra -Os -fpic -I"$INC" -shared -o cmod.so cmod.c gcc -Wall -Wextra -Os -fpic -I"$INC" -shared -o aiomod.so aiomod.c