Diff options
Diffstat (limited to 'tests/extensions/lib.sh')
| -rw-r--r-- | tests/extensions/lib.sh | 7 |
1 file changed, 5 insertions, 2 deletions
diff --git a/tests/extensions/lib.sh b/tests/extensions/lib.sh index d490655..8584446 100644 --- a/tests/extensions/lib.sh +++ b/tests/extensions/lib.sh @@ -43,8 +43,11 @@ do ext_lua_versions="$ext_lua_versions|$ext_lua_version|" interpreters="$interpreters $ext_lua_bin" done -test -n "$interpreters" || - say 'no standalone lua on the path, unit checks skipped' + +# A script registers its unit checks for each of ${interpreters:-lua} under +# the STANDALONE_LUA prerequisite, so with none found they still show in +# the count, as skipped, rather than vanishing from it. +test -z "$interpreters" || test_set_prereq STANDALONE_LUA # Asks whether cgit's own Lua can require every module named, by pointing a # throwaway commit-filter at the given repository and reading its answer off |
