mirror of
https://github.com/mirror/wget.git
synced 2025-01-28 05:10:35 +08:00
[svn] make test should result in build of src/wget when necessary.
This commit is contained in:
parent
829f83bf5b
commit
bceb91e7a8
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user