Ability to run individual test suites from makefile.
This commit is contained in:
parent
00c8c534d0
commit
1fe5157eec
2 changed files with 6 additions and 1 deletions
5
INSTALL
5
INSTALL
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue