File: 2002_tracing-test.patch

package info (click to toggle)
rudof 0.1.116%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 6,764 kB
  • sloc: python: 346; makefile: 27; sh: 1
file content (83 lines) | stat: -rw-r--r-- 2,149 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
Description: avoid not-in-Debian crate tracing-test
Author: Jonas Smedegaard <dr@jones.dk>
Forwarded: not-needed
Last-Update: 2025-09-18
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -109,7 +109,6 @@
 thiserror = "2.0"
 tracing = "0.1"
 tracing-subscriber = { version = "0.3", features = ["env-filter"] }
-tracing-test = "0.2.5"
 url = "2.2.2"
 
 [patch.crates-io]
--- a/dctap/Cargo.toml
+++ b/dctap/Cargo.toml
@@ -20,9 +20,6 @@
 thiserror = "2"
 tracing.workspace = true
 
-[dev-dependencies]
-tracing-test = "0.2.5"
-
 # [patch.crates-io]
 # use fork fixing zip dependency until PR is merged
 # calamine = { git = "https://github.com/prophittcorey/calamine", branch = "fix/zip-3.0" }
--- a/dctap/src/tap_config.rs
+++ b/dctap/src/tap_config.rs
@@ -150,13 +150,11 @@
 mod tests {
     use std::{collections::HashMap, str::FromStr};
     // use tracing::debug;
-    // use tracing_test::traced_test;
 
     use crate::PlaceholderResolver;
 
     use super::TapConfig;
 
-    // #[traced_test]
     #[test]
     fn test_config() {
         let key = "nalt";
--- a/dctap/src/tap_reader.rs
+++ b/dctap/src/tap_reader.rs
@@ -553,7 +553,6 @@
     use crate::{TapReaderBuilder, TapShape};
 
     use super::*;
-    use tracing_test::traced_test;
 
     #[test]
     fn test_simple() {
@@ -573,7 +572,6 @@
         assert_eq!(next_shape, expected_shape);
     }
 
-    #[traced_test]
     #[test]
     fn test_2lines() {
         let data = "\
--- a/shacl_validation/Cargo.toml
+++ b/shacl_validation/Cargo.toml
@@ -37,4 +37,3 @@
 
 [dev-dependencies]
 oxrdf.workspace = true
-tracing-test = "0.2.5"
--- a/shacl_validation/tests/core/misc/mod.rs
+++ b/shacl_validation/tests/core/misc/mod.rs
@@ -6,11 +6,9 @@
     use crate::TestSuiteError;
     use crate::test;
     use shacl_validation::shacl_processor::ShaclValidationMode;
-    use tracing_test::traced_test;
 
     const PATH: &str = "tests/data-shapes/data-shapes-test-suite/tests/core/misc/";
 
-    #[traced_test]
     #[test]
     fn deactivated_001() -> Result<(), TestSuiteError> {
         println!("Running deactivated_001 test");