summaryrefslogtreecommitdiffstats
path: root/tests/local.mk
blob: 72f11350fb5c4895c21edbd016e1292dede75651 (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
TESTS = \
	%reldir%/lib/ob_parse_dep.sh \
	%reldir%/lib/ob_reduce_deps.sh \
	%reldir%/lib/ob_arch_is_concerned.sh \
	%reldir%/lib/ob_plat_is_concerned.sh \
	%reldir%/lib/ob_parse_changelog.sh \
	%reldir%/lib/ob_parse_control.sh \
	%reldir%/exe/opkbuild_version.sh \
	%reldir%/exe/ob-buildenv.sh \
	%reldir%/exe/ob-unpacksource.sh
TEST_EXTENSIONS = .sh
SH_LOG_DRIVER = \
	$(SHELL) $(top_srcdir)/tests/aux/setup.sh "$(top_builddir)/tests" && \
	AM_TAP_AWK='$(AWK)' \
	TOP_SRCDIR="$(abs_top_srcdir)" \
	TOP_BUILDDIR="$(abs_top_builddir)" \
	SHSOEXT='$(SHSOEXT)' \
	LIBOPKBUILD_SHSOVERSION='$(libopkbuild_shsoversion)' \
	OB_LIB_BUILDDIR="$(abs_top_srcdir)/locale" \
	OB_EXE_BUILDDIR="$(abs_top_srcdir)/locale" \
	SHLD_LIBRARY_PATH="$(abs_top_builddir)/lib" \
	PATH="$(abs_top_builddir)/src:$${PATH}" \
	$(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