Debian Codegraph @

debian/patches/fix-tests.patch

raw symbols SCIP
1 Description: Disable and fix tests without proper fixtures
2 Last-Update: 2022-09-02
3 ---
4 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
5 --- a/src/stream/tests.rs
6 +++ b/src/stream/tests.rs
7 @@ -174,3 +174,4 @@
8
9 -#[test]
10 +//#[test]
11 +#[cfg(has_example_txt_zst)]
12 fn test_cli_compatibility() {
13 @@ -190,3 +191,3 @@
14 #[cfg(feature = "legacy")]
15 -#[test]
16 +//#[test]
17 fn test_legacy() {
18 @@ -235,3 +236,4 @@
19 // Where could I find some long text?...
20 - let data = include_bytes!("../../zstd-safe/zstd-sys/src/bindings_zstd.rs");
21 + // Debian: originally it's the prebuilt bindings, but we excluded it.
22 + let data = include_bytes!("raw.rs");
23 // Test a few compression levels.