#!/usr/bin/make -f

TEST_BROKEN = \
 accept_headers_populated_by_default \
 header_can_be_inserted_in_httpclient_builder \
 headers_in_request_builder_must_override_headers_in_httpclient_builder \
 headers_in_request_builder_must_override_multiple_headers_in_httpclient_builder \
 multiple_headers_with_same_key_can_be_inserted_in_httpclient_builder \
 deflate_encoded_response_is_decoded_automatically \
 gzip_encoded_response_is_decoded_automatically

%:
	dh $@

# avoid checking examples, too broken (possibly due to use of newer tiny-http)
override_dh_auto_test:
	dh_auto_test --buildsystem rust -- --lib --bins --tests --benches --no-fail-fast -- $(addprefix --skip ,$(TEST_BROKEN))
