File: rules

package info (click to toggle)
rust-ureq 2.6.2-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 692 kB
  • sloc: perl: 258; python: 148; makefile: 13; sh: 10
file content (19 lines) | stat: -rwxr-xr-x 461 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

# use local fork of debcargo and dh-cargo
PATH := $(CURDIR)/debian/dh-cargo/bin:$(PATH)
PERL5LIB = $(CURDIR)/debian/dh-cargo/lib
export PATH PERL5LIB

TEST_NEED_NET = \
 test::range::read_range_rustls \
 tests::connect_http_google \
 tests::connect_https_google_rustls \
 tls_client_certificate

%:
	dh $@ --buildsystem cargo

override_dh_auto_test:
	dh_auto_test -- --no-fail-fast --lib --tests -- \
		$(addprefix --skip ,$(TEST_NEED_NET))