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 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92
|
Description: Disable tests relying on missing data files
Forwarded: not-needed
Author: Antonin Delpeuch <antonin@delpeuch.eu>
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/src/gtest.rs
+++ b/src/gtest.rs
@@ -231,6 +231,8 @@ mod gtest {
qcms_profile_release(other);
}
}
+
+ #[ignore]
#[test]
fn samples() {
use libc::c_void;
@@ -261,6 +263,7 @@ mod gtest {
}
}
+ #[ignore]
#[test]
fn v4() {
use libc::c_void;
@@ -780,6 +783,7 @@ mod gtest {
profile
}
+ #[ignore]
#[test]
fn sRGB_to_ThinkpadW540() {
unsafe {
@@ -792,6 +796,7 @@ mod gtest {
}
}
+ #[ignore]
#[test]
fn sRGB_to_SamsungSyncmaster() {
unsafe {
@@ -804,6 +809,7 @@ mod gtest {
}
}
+ #[ignore]
#[test]
fn v4_output() {
qcms_enable_iccv4();
@@ -920,6 +926,7 @@ mod test {
Profile::new_from_slice(&data, false).unwrap()
}
+ #[ignore]
#[test]
fn parametric_threshold() {
let src = profile_from_path("parametric-thresh.icc");
@@ -931,6 +938,7 @@ mod test {
assert_eq!(data, [188, 188, 189]);
}
+ #[ignore]
#[test]
fn cmyk() {
let input = profile_from_path("ps_cmyk_min.icc");
--- a/src/iccread.rs
+++ b/src/iccread.rs
@@ -1426,21 +1426,24 @@ fn check_transfer_characteristics(cicp:
eprintln!("{} / {} off by one", off_by_one, cicp_out.len());
}
+#[ignore]
#[test]
fn srgb_transfer_characteristics() {
check_transfer_characteristics(TransferCharacteristics::Srgb, "sRGB_lcms.icc");
}
+#[ignore]
#[test]
fn bt709_transfer_characteristics() {
check_transfer_characteristics(TransferCharacteristics::Bt709, "ITU-709.icc");
}
+#[ignore]
#[test]
fn bt2020_10bit_transfer_characteristics() {
check_transfer_characteristics(TransferCharacteristics::Bt2020_10bit, "ITU-2020.icc");
}
-
+#[ignore]
#[test]
fn bt2020_12bit_transfer_characteristics() {
check_transfer_characteristics(TransferCharacteristics::Bt2020_12bit, "ITU-2020.icc");
|