summaryrefslogtreecommitdiffstats
path: root/tests/local.mk
blob: 1e4138cb4ef027a1f7d5840ba178b201a38ba5c4 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
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%/lib/ob_substvars.sh \
	%reldir%/lib/ob_rfc822_mktime.sh \
	%reldir%/lib/ob_iso8601_gmtime.sh \
	%reldir%/exe/opkbuild_version.sh \
	%reldir%/exe/ob-buildenv.sh \
	%reldir%/exe/ob-unpacksource.sh \
	%reldir%/exe/ob-applypatches.sh \
	%reldir%/exe/ob-installdocs.sh \
	%reldir%/exe/ob-gencontrol.sh \
	%reldir%/exe/ob-buildopk.sh \
	%reldir%/exe/ob-genchanges.sh \
	%reldir%/exe/opkbuild.sh
TEST_EXTENSIONS = .sh
SH_LOG_DRIVER = \
	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_builddir)/locale" \
	OB_EXE_BUILDDIR="$(abs_top_builddir)/locale" \
	SHLD_LIBRARY_PATH="$(abs_top_builddir)/lib" \
	OB_BINDIR="$(abs_top_builddir)/src" \
	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 \
	tests/data/pkg/README \
	tests/data/pkg/bar.pkg/control \
	tests/data/pkg/baz-qux.pkg/control \
	tests/data/pkg/build \
	tests/data/pkg/changelog \
	tests/data/pkg/control \
	tests/data/pkg/copyright \
	tests/data/pkg/foo.pkg/control \
	tests/data/pkg/foo.pkg/docs \
	tests/data/pkg/format \
	tests/data/pkg/patches/01_goodbye.patch \
	tests/data/pkg/substvars \
	tests/data/src/src/foo.sh

distclean-local:
	-rm -Rf tests/data.build/