AgeCommit message (Collapse)AuthorLines
Trim the comments and dead code across the treeBryce Kwon-6/+5
Renumber the test scripts into themed rangesBryce Kwon-0/+0
t000x the ground the suite stands on: git version, html validity, the cache t01xx page content, one script per page t02xx features that cut across pages: filters, submodule links, dates, limits t03xx defence, the security regressions and the $HOME promise t04xx the helper tools under tools/
Tidy the test comments and shell portabilityBryce Kwon-12/+20
Emit generated runs in batches, not a write eachBryce Kwon-0/+53
Fix hunk numbering and a leak in the ssdiff viewBryce Kwon-0/+35
A hunk header that states no length was numbered from the wrong line, and the line a deferred row copied was never freed.
tests: use Git's test frameworkJohn Keeping-11/+10
This allows tests to run in parallel as well as letting us use "prove" or another TAP harness to run the tests. Git's test framework requires Git to be fully built before letting any tests run, so add a new target to the top-level Makefile which builds all of Git instead of just libgit.a and make the "test" target depend on that. Signed-off-by: John Keeping <john@keeping.me.uk>
tests: "grep -e" is not portable to all platformsJohn Keeping-5/+5
The "-e" option to grep is not needed unless specifying more than one pattern, which we don't do. Remove it to avoid restricting the tests on platforms that do not have a grep that recognises "-e". Signed-off-by: John Keeping <john@keeping.me.uk>
Create initial testsuiteLars Hjemli-0/+20
This creates a simple testsuite, heavily inspired by the testsuite in git. Signed-off-by: Lars Hjemli <hjemli@gmail.com>