mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04: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
|
# default target
|
||||||
all: src/config.h Makefile $(SUBDIRS)
|
all: src/config.h Makefile $(SUBDIRS)
|
||||||
|
|
||||||
test: src/config.h Makefile
|
test: src/config.h Makefile src
|
||||||
cd tests && $(MAKE) $(MAKEDEFS) $@
|
cd tests && $(MAKE) $(MAKEDEFS) $@
|
||||||
|
|
||||||
check: all
|
check: all
|
||||||
|
@ -76,7 +76,10 @@ all:
|
|||||||
|
|
||||||
.PHONY: test
|
.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)
|
run-unit-tests: unit-tests$(exeext)
|
||||||
./unit-tests$(exeext)
|
./unit-tests$(exeext)
|
||||||
|
Loading…
Reference in New Issue
Block a user