mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 23:10:58 +00:00
194c3f10d4
Creates a new top-level tests directory that will be used for all future automated test code eventually. Import runtests and the basic TAP library from C TAP Harness 1.2. Add top-level check and test targets that build the full source tree and then the new tests directory, and then runs runtests on the test list. Change-Id: I896f8ae488cd1dfa8529a10b4b479e45e7c67afe Reviewed-on: http://gerrit.openafs.org/2062 Tested-by: Derrick Brashear <shadow@dementia.org> Reviewed-by: Derrick Brashear <shadow@dementia.org>
22 lines
403 B
Makefile
22 lines
403 B
Makefile
# Build rules for the OpenAFS test suite.
|
|
|
|
srcdir=@srcdir@
|
|
include @TOP_OBJDIR@/src/config/Makefile.config
|
|
|
|
objects = basic.o
|
|
|
|
all check test tests: libtap.a
|
|
|
|
basic.o: $(srcdir)/basic.c $(srcdir)/basic.h
|
|
$(CCOBJ) $(CFLAGS) -I$(srcdir)/.. -c $(srcdir)/basic.c
|
|
|
|
libtap.a: $(objects)
|
|
$(RM) -f libtap.a
|
|
$(AR) crv libtap.a $(objects)
|
|
$(RANLIB) libtap.a
|
|
|
|
install:
|
|
|
|
clean distclean:
|
|
$(RM) -f *.o *.a core
|