Rework unit tests using cutter.

This commit is contained in:
Romain Tartiere 2010-01-11 20:14:30 +00:00
parent 935ab47c54
commit c1bcb966ea
24 changed files with 675 additions and 2277 deletions

13
test/run-test.sh Executable file
View file

@ -0,0 +1,13 @@
#!/bin/sh
export BASE_DIR="`dirname $0`"
if test -z "$NO_MAKE"; then
make -C "$BASE_DIR/../" > /dev/null || exit 1
fi
if test -z "$CUTTER"; then
CUTTER="`make -s -C "$BASE_DIR" echo-cutter`"
fi
"$CUTTER" -s "$BASE_DIR" "$@" "$BASE_DIR"