From a62de618552bd3a3ccb5d1988fd3b5b82cb5124f Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Mon, 14 Jun 2010 15:28:20 -0700 Subject: [PATCH] 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 --- tests/Makefile.in | 1 + tests/util/Makefile.in | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/Makefile.in b/tests/Makefile.in index 7118378bec..d2d0bbfbc8 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 763f1cda76..9fc34fa0e6 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 \