mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 23:10:58 +00:00
799b3373ec
Move code for faking up an OpenAFS configuration directory into its own "common" directory, as it's going to be of use to more tests than just those in auth. Change-Id: I9c80dd66763e222deca98bc7744ff317111c6ed8 Reviewed-on: http://gerrit.openafs.org/4806 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Derrick Brashear <shadow@dementia.org>
30 lines
800 B
Makefile
30 lines
800 B
Makefile
# Build rules for the OpenAFS test suite.
|
|
|
|
srcdir=@srcdir@
|
|
abs_top_srcdir=@abs_top_srcdir@
|
|
abs_top_builddir=@abs_top_builddir@
|
|
include @TOP_OBJDIR@/src/config/Makefile.config
|
|
include @TOP_OBJDIR@/src/config/Makefile.pthread
|
|
|
|
MODULE_CFLAGS = -DSOURCE='"$(abs_top_srcdir)/tests"' \
|
|
-DBUILD='"$(abs_top_builddir)/tests"'
|
|
|
|
SUBDIRS = tap common auth util cmd
|
|
|
|
all: runtests
|
|
@for A in $(SUBDIRS); do cd $$A && $(MAKE) $@ && cd .. || exit 1; done
|
|
|
|
runtests: runtests.o
|
|
$(AFS_LDRULE) runtests.o
|
|
|
|
check test tests: runtests
|
|
@for A in $(SUBDIRS); do cd $$A && $(MAKE) $@ && cd .. || exit 1; done
|
|
LD_LIBRARY_PATH=@TOP_OBJDIR@/lib \
|
|
./runtests $(abs_top_srcdir)/tests/TESTS
|
|
|
|
install:
|
|
|
|
clean distclean:
|
|
@for A in $(SUBDIRS); do cd $$A && $(MAKE) $@ && cd .. || exit 1; done
|
|
$(RM) -f *.o core runtests
|