From c2960006ae1820e94f5d5a7b58252cbdd35bc278 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Fri, 30 Oct 2026 19:59:25 -0700 Subject: Set the Lua prerequisite once for every test setup.sh already asks the binary, so the seven scripts that each turned the answer into a prerequisite now share one. test-lib names the missing prerequisite beside every test it skips, so the notes that cgit lacks Lua go, while the ones announcing a fallback stay. Every script that listed the standalone interpreters asked for the same ceiling, so lib.sh now builds that list for all of them. --- tests/t0201-filters.sh | 3 --- 1 file changed, 3 deletions(-) (limited to 'tests/t0201-filters.sh') diff --git a/tests/t0201-filters.sh b/tests/t0201-filters.sh index 6d33803..ffac3e4 100755 --- a/tests/t0201-filters.sh +++ b/tests/t0201-filters.sh @@ -107,9 +107,6 @@ test_expect_success 'only a repository page hands filters its variables' ' grep "repo url: \." tmp ' -test "$CGIT_HAS_LUA" -eq 1 && test_set_prereq CGIT_LUA -test "$CGIT_HAS_LUA" -eq 1 || say 'cgit built without lua, error page check skipped' - # A die inside a lua filter has to reach the visitor as an error page rather # than being fed back into the filter that just failed, and the reason goes to # the log. -- cgit 2.12.1