]> git.proxmox.com Git - debcargo-conf.git/commitdiff
sequoia-sop: mark non-default tests as flaky
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Thu, 10 Feb 2022 00:56:31 +0000 (19:56 -0500)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Thu, 10 Feb 2022 00:59:55 +0000 (19:59 -0500)
we are also working around #985762 -- the only difference between
debian/tests/control.debcargo.hint and debian/tests/control should be
removal of the "flaky" restriction for the --all-features test
(test-name=rust-sequoia-sop:@)

src/sequoia-sop/debian/changelog
src/sequoia-sop/debian/debcargo.toml
src/sequoia-sop/debian/tests/control [new file with mode: 0644]
src/sequoia-sop/debian/tests/control.debcargo.hint [new file with mode: 0644]

index 58c680f15577fc509d274c9bd3049b20f867554c..3fc81c17e65efc2be429b04b1aa57d85d00e7949 100644 (file)
@@ -1,3 +1,9 @@
+rust-sequoia-sop (0.26.1-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
+
+  * Package sequoia-sop 0.26.1 from crates.io using debcargo 2.5.0
+
+ -- Daniel Kahn Gillmor <dkg@fifthhorseman.net>  Wed, 09 Feb 2022 19:46:47 -0500
+
 rust-sequoia-sop (0.26.0-1) unstable; urgency=medium
 
   * Package sequoia-sop 0.26.0 from crates.io using debcargo 2.5.0
index 0b056bcd16080209c77a7f3a76320d449d567614..2e057c77c271ba58123ef771d462af37fc29d5d1 100644 (file)
@@ -20,3 +20,16 @@ build_depends = ["bash-completion"]
 
 [packages.bin]
 section = "utils"
+
+# all feature-specific sequoia openpgp tests will fail unless one
+# crypto-* feature is included.  This issue stems from choices made in
+# the sequoia-openpgp crate.
+# See https://bugs.debian.org/985741 for more info.
+[packages.lib]
+test_is_broken = true
+[packages."lib+crypto-nettle"]
+test_is_broken = false
+[packages."lib+default"]
+test_is_broken = false
+[packages."lib+@"]
+test_is_broken = false
diff --git a/src/sequoia-sop/debian/tests/control b/src/sequoia-sop/debian/tests/control
new file mode 100644 (file)
index 0000000..28b13ff
--- /dev/null
@@ -0,0 +1,39 @@
+Test-Command: /usr/share/cargo/bin/cargo-auto-test sequoia-sop 0.26.1 --all-targets --all-features
+Features: test-name=rust-sequoia-sop:@
+Depends: dh-cargo (>= 18), @
+Restrictions: allow-stderr, skip-not-installable
+
+Test-Command: /usr/share/cargo/bin/cargo-auto-test sequoia-sop 0.26.1 --all-targets --no-default-features --features cli
+Features: test-name=librust-sequoia-sop-dev:cli
+Depends: dh-cargo (>= 18), @
+Restrictions: allow-stderr, skip-not-installable, flaky
+
+Test-Command: /usr/share/cargo/bin/cargo-auto-test sequoia-sop 0.26.1 --all-targets --no-default-features --features compression
+Features: test-name=librust-sequoia-sop-dev:compression
+Depends: dh-cargo (>= 18), @
+Restrictions: allow-stderr, skip-not-installable, flaky
+
+Test-Command: /usr/share/cargo/bin/cargo-auto-test sequoia-sop 0.26.1 --all-targets --no-default-features --features compression-bzip2
+Features: test-name=librust-sequoia-sop-dev:compression-bzip2
+Depends: dh-cargo (>= 18), @
+Restrictions: allow-stderr, skip-not-installable, flaky
+
+Test-Command: /usr/share/cargo/bin/cargo-auto-test sequoia-sop 0.26.1 --all-targets --no-default-features --features compression-deflate
+Features: test-name=librust-sequoia-sop-dev:compression-deflate
+Depends: dh-cargo (>= 18), @
+Restrictions: allow-stderr, skip-not-installable, flaky
+
+Test-Command: /usr/share/cargo/bin/cargo-auto-test sequoia-sop 0.26.1 --all-targets --no-default-features --features crypto-nettle
+Features: test-name=librust-sequoia-sop-dev:crypto-nettle
+Depends: dh-cargo (>= 18), @
+Restrictions: allow-stderr, skip-not-installable
+
+Test-Command: /usr/share/cargo/bin/cargo-auto-test sequoia-sop 0.26.1 --all-targets 
+Features: test-name=librust-sequoia-sop-dev:default
+Depends: dh-cargo (>= 18), @
+Restrictions: allow-stderr, skip-not-installable
+
+Test-Command: /usr/share/cargo/bin/cargo-auto-test sequoia-sop 0.26.1 --all-targets --no-default-features
+Features: test-name=librust-sequoia-sop-dev:
+Depends: dh-cargo (>= 18), @
+Restrictions: allow-stderr, skip-not-installable, flaky
diff --git a/src/sequoia-sop/debian/tests/control.debcargo.hint b/src/sequoia-sop/debian/tests/control.debcargo.hint
new file mode 100644 (file)
index 0000000..14a3bc4
--- /dev/null
@@ -0,0 +1,39 @@
+Test-Command: /usr/share/cargo/bin/cargo-auto-test sequoia-sop 0.26.1 --all-targets --all-features
+Features: test-name=rust-sequoia-sop:@
+Depends: dh-cargo (>= 18), @
+Restrictions: allow-stderr, skip-not-installable, flaky
+
+Test-Command: /usr/share/cargo/bin/cargo-auto-test sequoia-sop 0.26.1 --all-targets --no-default-features --features cli
+Features: test-name=librust-sequoia-sop-dev:cli
+Depends: dh-cargo (>= 18), @
+Restrictions: allow-stderr, skip-not-installable, flaky
+
+Test-Command: /usr/share/cargo/bin/cargo-auto-test sequoia-sop 0.26.1 --all-targets --no-default-features --features compression
+Features: test-name=librust-sequoia-sop-dev:compression
+Depends: dh-cargo (>= 18), @
+Restrictions: allow-stderr, skip-not-installable, flaky
+
+Test-Command: /usr/share/cargo/bin/cargo-auto-test sequoia-sop 0.26.1 --all-targets --no-default-features --features compression-bzip2
+Features: test-name=librust-sequoia-sop-dev:compression-bzip2
+Depends: dh-cargo (>= 18), @
+Restrictions: allow-stderr, skip-not-installable, flaky
+
+Test-Command: /usr/share/cargo/bin/cargo-auto-test sequoia-sop 0.26.1 --all-targets --no-default-features --features compression-deflate
+Features: test-name=librust-sequoia-sop-dev:compression-deflate
+Depends: dh-cargo (>= 18), @
+Restrictions: allow-stderr, skip-not-installable, flaky
+
+Test-Command: /usr/share/cargo/bin/cargo-auto-test sequoia-sop 0.26.1 --all-targets --no-default-features --features crypto-nettle
+Features: test-name=librust-sequoia-sop-dev:crypto-nettle
+Depends: dh-cargo (>= 18), @
+Restrictions: allow-stderr, skip-not-installable
+
+Test-Command: /usr/share/cargo/bin/cargo-auto-test sequoia-sop 0.26.1 --all-targets 
+Features: test-name=librust-sequoia-sop-dev:default
+Depends: dh-cargo (>= 18), @
+Restrictions: allow-stderr, skip-not-installable
+
+Test-Command: /usr/share/cargo/bin/cargo-auto-test sequoia-sop 0.26.1 --all-targets --no-default-features
+Features: test-name=librust-sequoia-sop-dev:
+Depends: dh-cargo (>= 18), @
+Restrictions: allow-stderr, skip-not-installable, flaky