mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
Make run-unit-tests _always_ make libunittest.a.
This commit is contained in:
parent
4198c7239f
commit
306e622a61
@ -1,3 +1,8 @@
|
||||
2009-09-01 Micah Cowan <micah@cowan.name>
|
||||
|
||||
* Makefile.am (../src/libunittest.a): Make it a phony target,
|
||||
so we always make sure to get up-to-date unit-test runs.
|
||||
|
||||
2009-08-27 Micah Cowan <micah@cowan.name>
|
||||
|
||||
* WgetTest.pm.in (run): Shift the errcode right by 8 binary places.
|
||||
|
@ -42,6 +42,8 @@ test: ../src/wget$(EXEEXT) run-unit-tests run-px-tests
|
||||
../src/wget$(EXEEXT):
|
||||
cd ../src && $(MAKE) $(AM_MAKEFLAGS)
|
||||
|
||||
# Make libunittest "PHONY" so we're always sure we're up-to-date.
|
||||
.PHONY: ../src/libunittest.a
|
||||
../src/libunittest.a:
|
||||
cd ../src && $(MAKE) $(AM_MAKEFLAGS) libunittest.a
|
||||
|
||||
@ -51,7 +53,7 @@ test: ../src/wget$(EXEEXT) run-unit-tests run-px-tests
|
||||
../md5/libmd5.a:
|
||||
cd ../lib && $(MAKE) $(AM_MAKEFLAGS)
|
||||
|
||||
run-unit-tests: unit-tests$(EXEEXT)
|
||||
run-unit-tests: unit-tests$(EXEEXT) ../src/libunittest.a
|
||||
./unit-tests$(EXEEXT)
|
||||
|
||||
run-px-tests: WgetTest.pm ../src/wget$(EXEEXT)
|
||||
@ -118,8 +120,8 @@ EXTRA_DIST = FTPServer.pm FTPTest.pm HTTPServer.pm HTTPTest.pm \
|
||||
|
||||
check_PROGRAMS = unit-tests
|
||||
unit_tests_SOURCES =
|
||||
#unit-tests: ../src/libunittest.a ../lib/libgnu.a
|
||||
unit-tests: ../src/libunittest.a
|
||||
LDADD = ../src/libunittest.a ../lib/libgnu.a @LIBSSL@ @LIBGNUTLS@ \
|
||||
@MD5_LDADD@
|
||||
@MD5_LDADD@
|
||||
|
||||
CLEANFILES = *~ *.bak core core.[0-9]*
|
||||
|
Loading…
Reference in New Issue
Block a user