sysklogd/test/Makefile.am
Joachim Wiberg aad76ad03b test: refactor test.rc + start.sh + stop.sh -> lib.sh
Refactor test.rc, start.sh, and stop.sh into lib.sh that each test
sources and uses independently of each other.

More simplfication and cleanup needed.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2021-11-22 15:18:19 +01:00

21 lines
530 B
Makefile

EXTRA_DIST = lib.sh opts.sh
EXTRA_DIST += api.sh local.sh remote.sh fwd.sh mark.sh
CLEANFILES = *~ *.trs *.log
TEST_EXTENSIONS = .sh
TESTS_ENVIRONMENT= unshare -mrun
check_PROGRAMS = api
api_SOURCES = api.c
api_CFLAGS = -I$(srcdir)/../src
api_LDFLAGS = -static
api_LDADD = ../src/libsyslog.la
TESTS = opts.sh
TESTS += local.sh
TESTS += remote.sh
TESTS += api.sh
TESTS += fwd.sh
TESTS += mark.sh
programs: $(check_PROGRAMS)