]> git.proxmox.com Git - debcargo-conf.git/commitdiff
backtrace - disable a test that fails with a file not found error.
authorPeter Michael Green <plugwash@debian.org>
Tue, 2 Nov 2021 03:59:58 +0000 (03:59 +0000)
committerPeter Michael Green <plugwash@debian.org>
Tue, 2 Nov 2021 04:38:16 +0000 (04:38 +0000)
src/backtrace/debian/patches/disable-test-that-fails-with-file-not-found.diff [new file with mode: 0644]
src/backtrace/debian/patches/series

diff --git a/src/backtrace/debian/patches/disable-test-that-fails-with-file-not-found.diff b/src/backtrace/debian/patches/disable-test-that-fails-with-file-not-found.diff
new file mode 100644 (file)
index 0000000..04c45ce
--- /dev/null
@@ -0,0 +1,23 @@
+Description: Disable a test that fails with a file not found error.
+Author: Peter Michael Green <plugwash@debian.org>
+
+--- rust-backtrace-0.3.51.orig/tests/accuracy/main.rs
++++ rust-backtrace-0.3.51/tests/accuracy/main.rs
+@@ -16,7 +16,7 @@ type Pos = (&'static str, u32);
+ #[test]
+ fn doit() {
+-    if
++    /*if
+     // Skip musl which is by default statically linked and doesn't support
+     // dynamic libraries.
+     !cfg!(target_env = "musl")
+@@ -39,7 +39,7 @@ fn doit() {
+         api(pos!(), |a, b| {
+             check!(a, b);
+         });
+-    }
++    }*/
+     outer(pos!());
+ }
index 2b20ca556504c075f08443aaa17075203b35f29e..c6a18ef6083d5e952c96632f32ad42f99df99e59 100644 (file)
@@ -1 +1,2 @@
 adjust-features.diff
+disable-test-that-fails-with-file-not-found.diff