aad76ad03b
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>
21 lines
530 B
Makefile
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)
|