File: rules

package info (click to toggle)
libmail-gnupg-perl 0.23-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 476 kB
  • sloc: perl: 651; makefile: 7; sh: 1
file content (14 lines) | stat: -rwxr-xr-x 428 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

SKIP_TESTS=$(shell cat debian/tests/pkg-perl/smoke-skip)
TEST_FILES = $(filter-out $(SKIP_TESTS), $(wildcard t/*.t))

%:
	dh $@

# only necessary because debian/patches doesn't change the mode of added files.
# once debian/patches/0001-use-fake-pinentry-Closes-835075.patch is upstream
# this can be dropped:
override_dh_auto_test:
	chmod a+x t/fake-pinentry.pl
	dh_auto_test -- --test_files="$(TEST_FILES)"