Ability to run individual test suites from makefile.

This commit is contained in:
Moinak Ghosh 2012-12-17 20:59:27 +05:30
parent 00c8c534d0
commit 1fe5157eec
2 changed files with 6 additions and 1 deletions

View file

@ -46,6 +46,11 @@ error message starting with the word "FATAL". All other error
messages visible in the log are a result of negative testing where
the utility is expected to exit with an error.
The files test/t1.tst, test/t2.tst and so on are individual test
suites. It is possible to run a single test suite. For example to
run test/t4.tst the following command can be used:
make test TESTSUITE=4
Custom Installation
===================
The options to the config script are detailed below. Note that this

View file

@ -266,7 +266,7 @@ $(PROG): $(OBJS)
$(LINK) -o $@ $(OBJS) $(LDLIBS)
test: all
(cd test; ulimit -c unlimited; sh ./run_test.sh) 2>&1 | tee test.log
(cd test; ulimit -c unlimited; sh ./run_test.sh $(TESTSUITE) ) 2>&1 | tee test.log
clean:
$(RM) $(PROG) $(OBJS) $(BAKFILES)