Debian Codegraph @

debian/patches/2005_spec_test.patch

raw
1 Description: skip missing spec tests
2 Author: Jonas Smedegaard <[email protected]>
3 Forwarded: not-needed
4 Last-Update: 2026-04-04
5 ---
6 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
7 --- a/tests/cli.rs
8 +++ b/tests/cli.rs
9 @@ -258,6 +258,9 @@
10 for f in path.read_dir().unwrap() {
11 let f = f.unwrap();
12 if f.file_type().unwrap().is_dir() {
13 + if f.path().file_name().and_then(|s| s.to_str()) == Some("spec") {
14 + continue;
15 + }
16 find_tests(&f.path(), tests);
17 continue;
18 }