Add another profile to the test set.
Bug: chromium:875650
Change-Id: Iae9519a6317b5e2b19ce0011b065fac0a5753787
Reviewed-on: https://skia-review.googlesource.com/151780
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
diff --git a/profiles/misc/ThinkpadX1YogaV2.icc b/profiles/misc/ThinkpadX1YogaV2.icc
new file mode 100644
index 0000000..1f1fb5b
--- /dev/null
+++ b/profiles/misc/ThinkpadX1YogaV2.icc
Binary files differ
diff --git a/profiles/misc/ThinkpadX1YogaV2.icc.txt b/profiles/misc/ThinkpadX1YogaV2.icc.txt
new file mode 100644
index 0000000..0f93843
--- /dev/null
+++ b/profiles/misc/ThinkpadX1YogaV2.icc.txt
@@ -0,0 +1,42 @@
+ Size : 0x00000588 : 1416
+ Data color space : 0x52474220 : 'RGB '
+ PCS : 0x58595A20 : 'XYZ '
+ Tag count : 0x0000000E : 14
+
+ Tag : Type : Size : Offset
+ ------ : ------ : ------ : --------
+ 'desc' : 'mluc' : 68 : 300
+ 'cprt' : 'mluc' : 134 : 368
+ 'wtpt' : 'XYZ ' : 20 : 504
+ 'chad' : 'sf32' : 44 : 524
+ 'rXYZ' : 'XYZ ' : 20 : 568
+ 'bXYZ' : 'XYZ ' : 20 : 588
+ 'gXYZ' : 'XYZ ' : 20 : 608
+ 'rTRC' : 'para' : 16 : 628
+ 'gTRC' : 'para' : 16 : 628
+ 'bTRC' : 'para' : 16 : 628
+ 'chrm' : 'chrm' : 36 : 644
+ 'meta' : 'dict' : 600 : 680
+ 'dmnd' : 'mluc' : 68 : 1280
+ 'dmdd' : 'mluc' : 68 : 1348
+
+rTRC : 2.199997, 1, 0, 0, 0, 0, 0
+gTRC : 2.199997, 1, 0, 0, 0, 0, 0
+bTRC : 2.199997, 1, 0, 0, 0, 0, 0
+Best : 2.199997, 1, 0, 0, 0, 0, 0
+ XYZ : | 0.566986084 0.260650635 0.136566162 |
+ | 0.258071899 0.684646606 0.057281494 |
+ | 0.000442505 0.044403076 0.780044556 |
+252 random bytes transformed to linear XYZD50 bytes:
+ 265331 9ad40e 456610 1d0e34 211151 704e04 35841f
+ 88422f 201811 864e25 ada809 4c6005 23432b 4d2899
+ b492a2 3d5f95 7d884e 3c5515 32165c 9d7e05 a653a7
+ 95491f 0b0540 cfee5e 9c479a 7eb521 241083 3a6f44
+ 4b4c2e 3d2e40 24104c 8e9052 77c56a a04f76 2e7207
+ 6c8b89 344d15 6e3202 3c8f2c 060807 160d71 202a56
+ 1c0c87 2b2b02 396275 090a1c 1c3608 5f3610 a16f96
+ c2b255 b979c0 733d1e 2e682a 3d8339 1e100f 44aa10
+ 407d1d 8b6b05 261829 3d300a 0c0838 06021d 4b301d
+ 6f6370 633b67 2a5f06 642d63 3c1b29 272f54 586592
+ 214111 32248d 110936 723503 449209 02010d 4557ae
+ 49a30e 532d2e 35453a 704122 3d883a 5f3517 465e8b
diff --git a/tests.c b/tests.c
index 1975d13..ae3685d 100644
--- a/tests.c
+++ b/tests.c
@@ -477,6 +477,8 @@
"profiles/misc/ColorGATE_Sihl_PhotoPaper.icc", // Broken tag table, and A2B0 fails to parse
"profiles/misc/bad_pcs.icc", // PCS is 'RGB '
+ "profiles/misc/ThinkpadX1YogaV2.icc", // Unsure what the bug here is, chromium:875650.
+
// fuzzer generated profiles that found parsing bugs
// Bad tag table data - these should not parse