|
|
2dc1498 |
From 99f5259cf419c53c805c856ff59f28ce916e4743 Mon Sep 17 00:00:00 2001
|
|
|
2dc1498 |
From: Jeremy Linton <jeremy.linton@arm.com>
|
|
|
2dc1498 |
Date: Mon, 21 May 2018 16:00:59 -0500
|
|
|
2dc1498 |
Subject: [PATCH] Remove compressed image test
|
|
|
2dc1498 |
MIME-Version: 1.0
|
|
|
2dc1498 |
Content-Type: text/plain; charset=UTF-8
|
|
|
2dc1498 |
Content-Transfer-Encoding: 8bit
|
|
|
2dc1498 |
|
|
|
2dc1498 |
The binary representation of a compressed block of data
|
|
|
2dc1498 |
can vary depending on small implementation details in the
|
|
|
2dc1498 |
compression library. Lets depend on the tests following
|
|
|
2dc1498 |
the binary image comparison to decompress the .tec file
|
|
|
2dc1498 |
and validate that the compress/decompress logic is functional.
|
|
|
2dc1498 |
|
|
|
2dc1498 |
Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
|
|
|
2dc1498 |
Petr Písař: Ported to 2.5.7 from 99f5259cf419c53c805c856ff59f28ce916e4743.
|
|
|
2dc1498 |
---
|
|
|
2dc1498 |
test/Makefile.am | 1 -
|
|
|
2dc1498 |
test/dotests.pl | 4 +++-
|
|
|
2dc1498 |
|
|
|
2dc1498 |
diff --git a/test/Makefile.am b/test/Makefile.am
|
|
|
2dc1498 |
index 009b736..53d5198 100644
|
|
|
2dc1498 |
--- a/test/Makefile.am
|
|
|
2dc1498 |
+++ b/test/Makefile.am
|
|
|
2dc1498 |
@@ -7,7 +7,6 @@ check_DATA += mrk.sf.legacy.txt.orig
|
|
|
2dc1498 |
check_DATA += mrk.txt
|
|
|
2dc1498 |
check_DATA += NormalizationTest.txt
|
|
|
2dc1498 |
check_DATA += SILGreek2004-04-27.map
|
|
|
2dc1498 |
-check_DATA += SILGreek2004-04-27.tec.orig
|
|
|
2dc1498 |
check_DATA += SILGreek2004-04-27.uncompressed.tec.orig
|
|
|
2dc1498 |
check_DATA += academy.tec
|
|
|
2dc1498 |
check_DATA += silipa93.tec
|
|
|
2dc1498 |
diff --git a/test/dotests.pl b/test/dotests.pl
|
|
|
2dc1498 |
index d8cc426..aa27401 100755
|
|
|
2dc1498 |
--- a/test/dotests.pl
|
|
|
2dc1498 |
+++ b/test/dotests.pl
|
|
|
2dc1498 |
@@ -41,7 +41,9 @@ compare("${srcdir}SILGreek2004-04-27.uncompressed.tec.orig", "SILGreek.uncompres
|
|
|
2dc1498 |
dotest("compiling Greek mapping (compressed)",
|
|
|
2dc1498 |
"${bindir}teckit_compile ${srcdir}SILGreek2004-04-27.map -o SILGreek.tec");
|
|
|
2dc1498 |
|
|
|
2dc1498 |
-compare("${srcdir}SILGreek2004-04-27.tec.orig", "SILGreek.tec");
|
|
|
2dc1498 |
+# Don't bother to check the compressed file as changes to the compression library can
|
|
|
2dc1498 |
+# slightly change the resulting image. The tests below which use the compressed file
|
|
|
2dc1498 |
+# should be sufficient to verify that it can be decompressed/used properly
|
|
|
2dc1498 |
|
|
|
2dc1498 |
dotest("converting plain-text file to unicode",
|
|
|
2dc1498 |
"${bindir}txtconv -t SILGreek.tec -i ${srcdir}mrk.txt -o mrk.utf8.txt -nfc");
|
|
|
2dc1498 |
--
|
|
|
2dc1498 |
2.21.0
|
|
|
2dc1498 |
|