523926a07d
The release suite fails with no permissions to dump loopback, so let's run tests in an unshare, one per test, with and start as many syslogd as needed for each test -- also easier to debug since all are then fully stand-alone. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
21 lines
548 B
Makefile
21 lines
548 B
Makefile
EXTRA_DIST = test.rc opts.sh start.sh stop.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)
|