File: ignore_failing_tests_due_to_missing_file.patch

package info (click to toggle)
rust-pdf 0.9.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 616 kB
  • sloc: makefile: 2
file content (35 lines) | stat: -rw-r--r-- 773 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
Description: Ignore these tests because the file they use are missing
 The files are not in the orig.tar
 Test would fail with:
  0: IO Error
  1: No such file or directory (os error 2)
Forwarded: not-needed
Last-Update: 2023-03-01
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/tests/integration.rs
+++ b/tests/integration.rs
@@ -19,6 +19,7 @@
     )
 }
 
+#[ignore]
 #[test]
 fn open_file() {
     let _ = run!(FileOptions::uncached().open(file_path!("example.pdf")));
@@ -72,6 +73,7 @@
     }
 }
 
+#[ignore]
 #[test]
 fn owner_password() {
     for entry in glob(file_path!("password_protected/*.pdf"))
@@ -123,6 +125,7 @@
 }
 
 #[cfg(feature="cache")]
+#[ignore]
 #[test]
 fn parse_objects_from_stream() {
     use pdf::object::NoResolve;