# customization: adapt all features test, since both allocators can't be active
# at the same time, custom-prefix needs LIBZ_RS_SYS_PREFIX, and gzprintf
# needs nightly c_variadic
# customization: gz needs an allocator and std (its tests use std)
# customization: set environment variable for custom-prefix feature test
# customization: omit gzprintf; it does not build on stable rustc

Test-Command: /usr/share/cargo/bin/cargo-auto-test libz-rs-sys 0.6.8 --all-targets --features export-symbols,semver-prefix,default,rust-allocator,std,gz
Features: test-name=rust-libz-rs-sys:@-customized
Depends: dh-cargo (>= 33~), rustc (>= 1.75), @
Restrictions: allow-stderr

Test-Command: /usr/share/cargo/bin/cargo-auto-test libz-rs-sys 0.6.8 --all-targets --no-default-features --features c-allocator
Features: test-name=librust-libz-rs-sys-dev:c-allocator
Depends: dh-cargo (>= 33~), rustc (>= 1.75), @
Restrictions: allow-stderr
Architecture: !riscv64

Test-Command: LIBZ_RS_SYS_PREFIX=LIBZ_RS_AUTOPKGTEST_ /usr/share/cargo/bin/cargo-auto-test libz-rs-sys 0.6.8 --all-targets --no-default-features --features custom-prefix
Features: test-name=librust-libz-rs-sys-dev:custom-prefix
Depends: dh-cargo (>= 33~), rustc (>= 1.75), @
Restrictions: allow-stderr
Architecture: !riscv64

Test-Command: /usr/share/cargo/bin/cargo-auto-test libz-rs-sys 0.6.8 --all-targets
Features: test-name=librust-libz-rs-sys-dev:default
Depends: dh-cargo (>= 33~), rustc (>= 1.75), @
Restrictions: allow-stderr

Test-Command: /usr/share/cargo/bin/cargo-auto-test libz-rs-sys 0.6.8 --all-targets --no-default-features --features export-symbols
Features: test-name=librust-libz-rs-sys-dev:export-symbols
Depends: dh-cargo (>= 33~), rustc (>= 1.75), @
Restrictions: allow-stderr
Architecture: !riscv64

Test-Command: /usr/share/cargo/bin/cargo-auto-test libz-rs-sys 0.6.8 --all-targets --no-default-features --features gz,rust-allocator,std
Features: test-name=librust-libz-rs-sys-dev:gz
Depends: dh-cargo (>= 33~), rustc (>= 1.75), @
Restrictions: allow-stderr
Architecture: !riscv64

Test-Command: /usr/share/cargo/bin/cargo-auto-test libz-rs-sys 0.6.8 --all-targets --no-default-features --features rust-allocator
Features: test-name=librust-libz-rs-sys-dev:rust-allocator
Depends: dh-cargo (>= 33~), rustc (>= 1.75), @
Restrictions: allow-stderr
Architecture: !riscv64

Test-Command: /usr/share/cargo/bin/cargo-auto-test libz-rs-sys 0.6.8 --all-targets --no-default-features --features semver-prefix
Features: test-name=librust-libz-rs-sys-dev:semver-prefix
Depends: dh-cargo (>= 33~), rustc (>= 1.75), @
Restrictions: allow-stderr
Architecture: !riscv64

Test-Command: /usr/share/cargo/bin/cargo-auto-test libz-rs-sys 0.6.8 --all-targets --no-default-features --features std
Features: test-name=librust-libz-rs-sys-dev:std
Depends: dh-cargo (>= 33~), rustc (>= 1.75), @
Restrictions: allow-stderr
Architecture: !riscv64

Test-Command: /usr/share/cargo/bin/cargo-auto-test libz-rs-sys 0.6.8 --all-targets --no-default-features --features testing-prefix
Features: test-name=librust-libz-rs-sys-dev:testing-prefix
Depends: dh-cargo (>= 33~), rustc (>= 1.75), @
Restrictions: allow-stderr
Architecture: !riscv64

Test-Command: /usr/share/cargo/bin/cargo-auto-test libz-rs-sys 0.6.8 --all-targets --no-default-features
Features: test-name=librust-libz-rs-sys-dev:
Depends: dh-cargo (>= 33~), rustc (>= 1.75), @
Restrictions: allow-stderr
Architecture: !riscv64
