"checkit_tiff" is an incredibly fast conformance checker for baseline TIFFs (with various extensions), see http://andreas-romeyke.de
Go to file
art1pirat d361b64ca9 - fixed broken link 2024-03-19 13:40:43 +01:00
common - updated License information 2022-03-07 10:30:12 +01:00
deploy - updated deployment, thanks to Jörg Sachse 2023-10-26 13:53:54 +02:00
example_configs - fixed broken link 2024-03-19 13:40:43 +01:00
src - fixed unintended typo from previous commit 2024-03-05 17:28:09 +01:00
t - added support for check_all_IFDs_have_tags 2024-03-01 09:42:06 +01:00
tiffs_should_fail - fixed naming 2024-03-01 09:42:06 +01:00
tiffs_should_pass - added a valid >4GB file (compressed with brotli) 2022-11-11 21:27:11 +01:00
.gitignore Ignore compiled files and build directory. 2016-05-11 09:05:05 +02:00
BUGS - renamed checkit/ checkit_tiff/ to prepare repos split 2016-01-20 12:48:11 +01:00
FAQ - added hint to m68k 2023-08-27 23:21:53 +02:00
LICENSE - updated 2022-03-01 10:35:02 +01:00
README.1st_checkit - added hint to deploy/ 2022-04-05 16:38:02 +02:00
README.TIFFrisks - fixed typos 2017-05-15 13:22:58 +02:00
README.TIFFspecification - fixed / adapted AsciiDoc 2022-03-06 17:31:10 +01:00
README.compile - added hints about ninja compile 2024-03-01 09:42:06 +01:00
README.grammar - typofix 2022-04-05 16:38:02 +02:00
README.icc - disable ICC proflib usage with "-DWITHOUT_ICC_PROFLIB" 2023-08-27 23:21:33 +02:00
README.regex - fixed / adapted AsciiDoc 2022-03-06 17:31:10 +01:00
README.testsuite - fixed / adapted AsciiDoc 2022-03-06 17:31:10 +01:00
THANKS - extended :) 2022-04-05 16:38:02 +02:00
TODO - fixed / adapted AsciiDoc 2022-03-06 17:31:10 +01:00
grammar.xhtml - new grammar with enhanced modes and new Content definitions 2017-01-23 17:43:47 +01:00

README.testsuite

Testexamples and Tests
======================

the directory 'tiffs_should_pass/' contains TIFF-files that should generally be
valid. This does not mean that they have to be valid against every profile.

Rudimentary tests are available in the 't/' directory to check the correctness of
'checkit_tiff' using Perl. 

It needs the following Perl modules (in brackets the debian module):

* Data::Printer (libdata-printer-perl)
* Exporter      (perl-base)
* File::Path    (perl-base)
* File::Slurp   (libfile-slurp-perl)
* File::Spec    (perl-base)
* IPC::Open3    (perl-base)
* POSIX         (perl-base)
* Test::More    (perl-modules-XXX with XXX as Perl-version )

in cmake the test-target is enabled by default, you could run it via:

[bash]
----
$> cmake ../src 
$> make
$> make test
----

If you want to call it manually, you should try this instead:

[bash]
----
$> cd t/
$> perl -I./ test_grammar.t && echo "fine!"
$> perl -I./ test_config_examples.t  && echo "fine!"
$> perl -I./ test_should_pass.t  && echo "fine!"
$> perl -I./ test_should_fail.t  && echo "fine!"
----

the return code for all these runs should be zero and result in message "fine!"