[svn] make test should result in build of src/wget when necessary.

This commit is contained in:
micah 2007-07-12 01:22:08 -07:00
parent 829f83bf5b
commit bceb91e7a8
2 changed files with 5 additions and 2 deletions

View File

@ -86,7 +86,7 @@ SUBDIRS = src doc po tests util windows
# default target
all: src/config.h Makefile $(SUBDIRS)
test: src/config.h Makefile
test: src/config.h Makefile src
cd tests && $(MAKE) $(MAKEDEFS) $@
check: all

View File

@ -76,7 +76,10 @@ all:
.PHONY: test
test: run-unit-tests run-px-tests
test: @top_srcdir@/src/wget run-unit-tests run-px-tests
@top_srcdir@/src/wget:
cd @top_srcdir@ && $(MAKE)
run-unit-tests: unit-tests$(exeext)
./unit-tests$(exeext)