From bceb91e7a8142d028d8512e6830c04e499735641 Mon Sep 17 00:00:00 2001 From: micah Date: Thu, 12 Jul 2007 01:22:08 -0700 Subject: [PATCH] [svn] make test should result in build of src/wget when necessary. --- Makefile.in | 2 +- tests/Makefile.in | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile.in b/Makefile.in index b76228c0..f3467a2b 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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 diff --git a/tests/Makefile.in b/tests/Makefile.in index b0386640..3f7d3b62 100644 --- a/tests/Makefile.in +++ b/tests/Makefile.in @@ -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) -- 2.39.2