diff options
Diffstat (limited to 'vendor/unicode-normalization/debian')
-rw-r--r-- | vendor/unicode-normalization/debian/patches/disable-tests-missing-testdata.patch | 38 | ||||
-rw-r--r-- | vendor/unicode-normalization/debian/patches/series | 1 |
2 files changed, 39 insertions, 0 deletions
diff --git a/vendor/unicode-normalization/debian/patches/disable-tests-missing-testdata.patch b/vendor/unicode-normalization/debian/patches/disable-tests-missing-testdata.patch new file mode 100644 index 0000000..e2a56f1 --- /dev/null +++ b/vendor/unicode-normalization/debian/patches/disable-tests-missing-testdata.patch @@ -0,0 +1,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) { diff --git a/vendor/unicode-normalization/debian/patches/series b/vendor/unicode-normalization/debian/patches/series new file mode 100644 index 0000000..39fe7a4 --- /dev/null +++ b/vendor/unicode-normalization/debian/patches/series @@ -0,0 +1 @@ +disable-tests-missing-testdata.patch |