File: rules

package info (click to toggle)
iwd 1.14-3%2Bdeb11u1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 6,888 kB
  • sloc: ansic: 113,786; sh: 4,325; makefile: 601
file content (19 lines) | stat: -rwxr-xr-x 588 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# some tests fail under certain constraints
# (succeeds with pbuilder but fails with sbuild - varying network block?)
# (possibly related: <https://bugs.debian.org/813471#40>)
TESTS = $(basename $(wildcard unit/*.c))
TESTS_FLAKY = unit/test-wsc unit/test-eap-sim

%:
	dh $@

override_dh_auto_test:
	make -j2 check VERBOSE=1 TESTS='$(filter-out $(TESTS_FLAKY),$(TESTS))'
	make -j2 check VERBOSE=1 TESTS='$(TESTS_FLAKY)' || true

override_dh_installsystemd:
	dh_installsystemd --no-enable --no-start --no-stop-on-upgrade