summaryrefslogtreecommitdiffstats
path: root/tests/local.mk
blob: eb04ae622f64eb41e1d6c48e6fa982e0e63ddf44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
check_PROGRAMS = \
	%reldir%/mode \
	%reldir%/dirent
tests_mode_SOURCES = \
	common/defs.h \
	common/mode.c \
	common/mode.h \
	%reldir%/mode.c
tests_mode_CPPFLAGS = \
	-I"$(top_srcdir)/common"
tests_dirent_SOURCES = \
	common/defs.h \
	opkg-opk/dirent.c \
	opkg-opk/dirent.h \
	%reldir%/dirent.c
tests_dirent_CPPFLAGS = \
	-I"$(top_srcdir)/common" \
	-I"$(top_srcdir)/opkg-opk"
TESTS = \
	%reldir%/version.sh \
	%reldir%/mode.sh \
	%reldir%/dirent.sh \
	%reldir%/build.sh
TEST_EXTENSIONS = .sh
SH_LOG_DRIVER = \
	AM_TAP_AWK='$(AWK)' \
	TOP_SRCDIR="$(abs_top_srcdir)" \
	TOP_BUILDDIR="$(abs_top_builddir)" \
	EXEEXT="$(EXEEXT)" \
	$(SHELL) $(top_srcdir)/build-aux/tap-driver.sh
EXTRA_DIST += \
	$(TESTS) \
	build-aux/tap-driver.sh \
	tests/aux/tap-functions.sh \
	tests/aux/common.sh