Adopt debcargo auto-gen'd testing stuff

Another thing generated that I'm just trusting is accurate. Oops.
This commit is contained in:
2025-11-13 22:06:11 -06:00
parent f7b54b9605
commit a9168d8851
2 changed files with 18 additions and 1 deletions

5
debian/rules vendored
View File

@@ -1,4 +1,7 @@
#!/usr/bin/make -f
%:
dh $@ --buildsystem=cargo
dh $@ --buildsystem cargo
override_dh_auto_test:
dh_auto_test -- test --all

14
debian/tests/control vendored Normal file
View File

@@ -0,0 +1,14 @@
Test-Command: /usr/share/cargo/bin/cargo-auto-test gt-tool 3.0.1 --all-targets --all-features
Features: test-name=rust-gt-tool:@
Depends: dh-cargo (>= 31), rustc, @
Restrictions: allow-stderr, skip-not-installable
Test-Command: /usr/share/cargo/bin/cargo-auto-test gt-tool 3.0.1 --all-targets
Features: test-name=librust-gt-tool-dev:default
Depends: dh-cargo (>= 31), rustc, @
Restrictions: allow-stderr, skip-not-installable
Test-Command: /usr/share/cargo/bin/cargo-auto-test gt-tool 3.0.1 --all-targets --no-default-features
Features: test-name=librust-gt-tool-dev:
Depends: dh-cargo (>= 31), rustc, @
Restrictions: allow-stderr, skip-not-installable