File: disable-tests-using-quickcheck.patch

package info (click to toggle)
rust-file-rotate 0.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 224 kB
  • sloc: makefile: 2
file content (21 lines) | stat: -rw-r--r-- 678 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
Description: Skip tests that require quickcheck.
 See: https://github.com/kstrafe/file-rotate/issues/37

--- a/src/tests.rs
+++ b/src/tests.rs
@@ -393,6 +393,7 @@
     assert_eq!("B\n", fs::read_to_string(&log_path).unwrap());
 }
 
+#[ignore = "would require to be updated to support quickcheck >=1"]
 #[quickcheck_macros::quickcheck]
 fn arbitrary_lines(count: usize) {
     let tmp_dir = TempDir::new().unwrap();
@@ -418,6 +419,7 @@
     assert!(Path::new(&log.log_paths()[0]).exists());
 }
 
+#[ignore = "would require to be updated to support quickcheck >=1"]
 #[quickcheck_macros::quickcheck]
 fn arbitrary_bytes(count: usize) {
     let tmp_dir = TempDir::new().unwrap();