Build util tests properly with make check

If one runs make check without previously running make at the top
level first, it didn't build the util test programs properly.
Recurse into subdirectories for make check as well, and add the
check, test, and tests targets to tests/util/Makefile.in

Change-Id: Idc2caf4cf83a48da350e724aba2ac1228795085d
Reviewed-on: http://gerrit.openafs.org/2162
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
Russ Allbery 2010-06-14 15:28:20 -07:00 committed by Derrick Brashear
parent 9316f209ed
commit a62de61855
2 changed files with 2 additions and 1 deletions

View File

@ -20,6 +20,7 @@ runtests: runtests.o
check test tests: runtests
cd tap && $(MAKE) $@
cd util && $(MAKE) $@
./runtests $(abs_top_srcdir)/tests/TESTS
install:

View File

@ -8,7 +8,7 @@ CFLAGS += -I$(srcdir)/..
tests = ktime-t
all: $(tests)
all check test tests: $(tests)
ktime-t: ktime-t.o
$(CC) $(LDFLAGS) -o ktime-t ktime-t.o ../tap/libtap.a \