| Age | Commit message (Collapse) | Author | Lines |
|
t0006 ran build/nolua/cgit by its path, so Valgrind never saw it, and
its page checks passed a page that logged an error. The Makefile and
README said the suite runs both binaries the same way, though only
these four tests run the one without Lua.
|
|
Nothing could make a missing prerequisite fail. A host without
pkg-config builds without Lua, and make test then passed with every
Lua test skipped and the lua pass of t0201 never run. The whole-script
skips become named prerequisites so the same list covers them, and the
strace probe now traces the file class of calls the tests use, so an
strace too old for it skips rather than fails.
|
|
The helpers are named by kind. cgitrc_repo and cgitrc_copy write the
config file named first, and cgit_url, cgit_query and cgit_rc run cgit,
each named after what it is handed first. A repository copies its
defaults from the globals read before its repo.url, so cgitrc_repo
places every setting itself, and a global can no longer land where it
silently stops applying. The t00xx and t01xx files move to them here.
|
|
test_done ends the script on every path, skip_all included.
|
|
cgit_abort_filters unhooks the Lua write interposer under NO_LUA too,
where neither the hook nor its state exists, so make NO_LUA=1 and the
default mode of tools/release-build.sh have not compiled since the die
path learned to take stdout back from a filter. The suite now builds and
runs that variant as well, and a lua: filter in such a build is refused
with a message naming the cause instead of an unknown filter type.
|