Debian Codegraph @

debian/patches/disable-tests-build-context.patch

raw
1 --- a/tests/test.rs
2 +++ b/tests/test.rs
3 @@ -6,7 +6,7 @@ mod helper;
4
5 use std::{collections::HashMap, path::Path, process::Command};
6
7 -use build_context::TARGET;
8 +//use build_context::TARGET;
9 use cargo_config2::*;
10
11 use self::helper::*;
12 @@ -382,7 +382,7 @@ fn de() {
13 assert_eq!("", toml::to_string(&de::Config::default()).unwrap());
14 }
15
16 -#[rustversion::attr(not(nightly), ignore)]
17 +/*#[rustversion::attr(not(nightly), ignore)]
18 #[test]
19 #[cfg_attr(miri, ignore)] // Miri doesn't support std::process::Command: https://github.com/rust-lang/miri/issues/3374
20 #[cfg(any())] // unpackaged test-helper git
21 @@ -515,7 +515,7 @@ fn cargo_config_toml() {
22 }
23
24 let _config = de(&fixtures_dir().join("reference"));
25 -}
26 +}*/
27
28 #[rustversion::attr(not(nightly), ignore)]
29 #[test]
30 --- a/Cargo.toml
31 +++ b/Cargo.toml
32 @@ -74,9 +74,6 @@ default-features = false
33 [dev-dependencies.anyhow]
34 version = "1"
35
36 -[dev-dependencies.build-context]
37 -version = "0.1"
38 -
39 [dev-dependencies.clap]
40 version = "4"
41 features = [