summaryrefslogtreecommitdiffstats
path: root/tests/local.mk
blob: f3a5772b9a04fca491741035c6c6bf8cbbfb5fc7 (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
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
TEST_EXTENSIONS = .sh
SH_LOG_DRIVER = \
	$(SHELL) $(top_srcdir)/tests/aux/setup.sh && \
	AM_TAP_AWK='$(AWK)' \
	TOP_SRCDIR="$(top_srcdir)" \
	TOP_BUILDDIR="$(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