File: Makefile.am

package info (click to toggle)
libpaper 2.2.5-0.3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,496 kB
  • sloc: sh: 8,516; ansic: 798; makefile: 137
file content (96 lines) | stat: -rw-r--r-- 2,751 bytes parent folder | download
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
# Tests Makefile.am
#
# Copyright (c) 2021-2024 Reuben Thomas <rrt@sc3d.org>
#
# This file is part of libpaper.
#
# This program is free software: you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or (at
# your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with this program.  If not, see
# <https://www.gnu.org/licenses/lgpl-2.1.html>.

TEST_EXTENSIONS = .sh
SH_LOG_COMPILER = $(srcdir)/run-test

if OS_WIN32
DIFF="diff --strip-trailing-cr"
PATH_CONVERT="cygpath --mixed"
else
DIFF=diff
PATH_CONVERT=echo
endif

EMPTY =

TESTS = \
	default-size-environment.sh \
	default-size-user.sh \
	default-size-lc_paper.sh \
	default-size-system-papersize.sh \
	default-size-system-paperspecs.sh \
	default-size-user-paperspecs.sh \
	default-size-no-default-paper.sh \
	unit-pt.sh \
	unit-pt-equals.sh \
	unit-mm.sh \
	unit-in.sh \
	unit-invalid.sh \
	all-sizes.sh \
	zero-arguments.sh \
	one-argument.sh \
	two-arguments.sh \
	paperspecs-invalid.sh \
	no-home.sh \
	paper-unknown.sh \
	bad-width.sh \
	bad-height.sh \
	unknown-option.sh \
	option-requires-argument.sh \
	$(EMPTY)

RESULTS = \
	default-size-environment-expected.txt \
	default-size-user-expected.txt \
	default-size-lc_paper-expected.txt \
	default-size-system-papersize-expected.txt \
	default-size-system-paperspecs-expected.txt \
	default-size-user-paperspecs-expected.txt \
	default-size-no-default-paper-expected.txt \
	unit-pt-expected.txt \
	unit-pt-equals-expected.txt \
	unit-mm-expected.txt \
	unit-in-expected.txt \
	unit-invalid-expected.txt \
	all-sizes-expected.txt \
	zero-arguments-expected.txt \
	one-argument-expected.txt \
	two-arguments-expected.txt \
	no-home-expected.txt \
	paper-unknown-expected.txt \
	unknown-option-expected.txt \
	option-requires-argument-expected.txt \
	$(EMPTY)

EXTRA_DIST = $(SH_LOG_COMPILER) $(TESTS) $(INPUTS) $(RESULTS) test-paperspecs

AM_TESTS_ENVIRONMENT = \
	export MAKE=$(MAKE); \
	export LC_ALL=C; \
	export HAVE_GLIBC=$(HAVE_GNU_GET_LIBC_VERSION); \
	export prefix=$(prefix); \
	export sysconfdir=$(sysconfdir); \
	export bindir=$(bindir); \
	export libdir=$(libdir); \
	export abs_srcdir=$(abs_srcdir); \
	export DIFF=$(DIFF); \
	export PATH_CONVERT=$(PATH_CONVERT); \
	export LSAN_OPTIONS=suppressions=$(abs_srcdir)/asan-suppressions.txt:fast_unwind_on_malloc=0:print_suppressions=0;