AgeCommit message (Collapse)AuthorLines
Prefer POSIX forms throughout the test scriptsBryce Kwon-0/+3
Tidy the test comments and shell portabilityBryce Kwon-4/+16
Reorganise the tree into vendor/ and custom/Bryce Kwon-1/+1
Make the clean targets remove real test outputBryce Kwon-2/+2
Reorganise into source, assets and librariesBryce Kwon-1/+1
Everything the build generates now lands in build/, so a clean is a single remove and the source tree stays free of build output.
tests: allow shell to be overriddenJohn Keeping-1/+5
On some systems (e.g. Solaris), /bin/sh is not a POSIX shell. Git already provides suitable overrides in its config.mak.uname file and we provide cgit.conf to allow the user to further change this. The code for this is taken from Git's t/Makefile, meaning that we now invoke the tests in the same way that Git does. Signed-off-by: John Keeping <john@keeping.me.uk>
tests: add CGIT_TEST_OPTS variable to MakefileJohn Keeping-1/+1
This allows running the entire test suite with a set of command-line options. For example: make test CGIT_TEST_OPTS=--valgrind Signed-off-by: John Keeping <john@keeping.me.uk>
tests/Makefile: not everyone has `.` in $PATHLars Hjemli-1/+1
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Create initial testsuiteLars Hjemli-0/+13
This creates a simple testsuite, heavily inspired by the testsuite in git. Signed-off-by: Lars Hjemli <hjemli@gmail.com>