1234567891011121314151617181920212223 |
- #! /bin/sh
- #
- # usage: runtest [<testfile>...]
- # without args, runs all *.test files in the current directory
- #
- MAKE=make
- TESTFILES=$*
- if [ "x$TESTFILES" = "x" ]; then TESTFILES='*.test'; fi
- if [ ! -d work ]; then mkdir work; fi
- cp -ru -t work lib
- opp_test gen $OPT -v $TESTFILES || exit 1
- echo
- (cd work; opp_makemake -f --deep -linet -L../../../../src -P . --no-deep-includes -I../../../../src; $MAKE) || exit 1
- echo
- opp_test run $OPT -v $TESTFILES || exit 1
- echo
- echo Results can be found in ./work
|