From: Russ Allbery Date: Mon, 14 Jun 2010 22:28:20 +0000 (-0700) Subject: Build util tests properly with make check X-Git-Tag: openafs-devel-1_5_75~121 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=a62de618552bd3a3ccb5d1988fd3b5b82cb5124f;p=packages%2Fo%2Fopenafs.git 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 Tested-by: Derrick Brashear --- diff --git a/tests/Makefile.in b/tests/Makefile.in index 7118378be..d2d0bbfbc 100644 --- a/tests/Makefile.in +++ b/tests/Makefile.in @@ -20,6 +20,7 @@ runtests: runtests.o check test tests: runtests cd tap && $(MAKE) $@ + cd util && $(MAKE) $@ ./runtests $(abs_top_srcdir)/tests/TESTS install: diff --git a/tests/util/Makefile.in b/tests/util/Makefile.in index 763f1cda7..9fc34fa0e 100644 --- a/tests/util/Makefile.in +++ b/tests/util/Makefile.in @@ -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 \