From 7bd511c31cb5d923eecd4a47c34bb43c5ab1c2b3 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sat, 7 Nov 2026 10:14:17 -1000 Subject: Run each standalone Lua version once A plain lua is usually one of the versioned names again, as lua and lua5.5 are here, so every 5.5 check ran twice, while names such as lua54 and lua-5.4 were never looked for. A test now names the version that ran, since "under lua" did not say which one it was. --- tests/t0501-about-render.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/t0501-about-render.sh') diff --git a/tests/t0501-about-render.sh b/tests/t0501-about-render.sh index 2cf84ed..94c5e82 100755 --- a/tests/t0501-about-render.sh +++ b/tests/t0501-about-render.sh @@ -15,11 +15,11 @@ CGIT_TEST_NO_CREATE_REPOS=YesPlease for lua in $interpreters do - test_expect_success "unit checks under $lua" " + test_expect_success "unit checks under $(lua_version "$lua")" " '$lua' '$EXT_TEST_DIRECTORY/test-about-render.lua' '$EXTENSIONS_DIRECTORY/about-render.lua' " - test_expect_success "fallback checks without lpeg under $lua" " + test_expect_success "fallback checks without lpeg under $(lua_version "$lua")" " '$lua' '$EXT_TEST_DIRECTORY/test-about-render.lua' '$EXTENSIONS_DIRECTORY/about-render.lua' nolpeg " done -- cgit 2.12.1