AgeCommit message (Collapse)AuthorLines
Test the preview server's request handlingBryce Kwon-4/+48
Only split_cgi_output was ever run. The handler, which builds the CGI environment, guards the asset directory, caps the body, times cgit out, turns a failed run into a 500 and answers HEAD, ran in no test at all. The server listens on a port the system picks, so parallel runs cannot collide.
Report each preview server split case on its ownBryce Kwon-3/+31
The five cases ran as one test, and their names reached the log only with -v. python3 also ran under the trash directory's HOME, where a version manager's shim may find no interpreter, and without -I, so PYTHONPATH or the user's site packages could shadow a module.
Let a test run require the tools it must not skipBryce Kwon-2/+7
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.
Drop the exit lines that follow test_doneBryce Kwon-1/+0
test_done ends the script on every path, skip_all included.
Cut test comments that repeat what is said nearbyBryce Kwon-5/+3
Collect test output under trash and resultsBryce Kwon-1/+1
Slim the serve test to what it actually needsBryce Kwon-3/+7
Renumber the test scripts into themed rangesBryce Kwon-0/+0
The numbering walks outward from the ground the suite stands on. - t000x for the git version, html validity and the cache - t01xx for page content, one script per page - t02xx for filters, submodule links, dates and limits, which cut across pages - t03xx for defence, the security regressions and the $HOME promise - t04xx for the helper tools under tools/