File: disable-tests-missing-testdata.patch

package info (click to toggle)
rust-unicode-normalization 0.1.25-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 852 kB
  • sloc: python: 414; makefile: 4
file content (38 lines) | stat: -rw-r--r-- 937 bytes parent folder | download | duplicates (2)
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
36
37
38
--- a/benches/bench.rs
+++ b/benches/bench.rs
@@ -81,7 +81,7 @@
     b.iter(|| ASCII.nfd().count());
 }
 
-#[bench]
+/*#[bench]
 fn bench_nfc_long(b: &mut Bencher) {
     let long = fs::read_to_string("benches/long.txt").unwrap();
     b.iter(|| long.nfc().count());
@@ -91,7 +91,7 @@
 fn bench_nfd_long(b: &mut Bencher) {
     let long = fs::read_to_string("benches/long.txt").unwrap();
     b.iter(|| long.nfd().count());
-}
+}*/
 
 #[bench]
 fn bench_nfkc_ascii(b: &mut Bencher) {
@@ -103,7 +103,7 @@
     b.iter(|| ASCII.nfkd().count());
 }
 
-#[bench]
+/*#[bench]
 fn bench_nfkc_long(b: &mut Bencher) {
     let long = fs::read_to_string("benches/long.txt").unwrap();
     b.iter(|| long.nfkc().count());
@@ -113,7 +113,7 @@
 fn bench_nfkd_long(b: &mut Bencher) {
     let long = fs::read_to_string("benches/long.txt").unwrap();
     b.iter(|| long.nfkd().count());
-}
+}*/
 
 #[bench]
 fn bench_streamsafe_ascii(b: &mut Bencher) {