"checkit_tiff" is an incredibly fast conformance checker for baseline TIFFs (with various extensions), see http://andreas-romeyke.de
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
art1pirat 5b2da8b886 - added check if compiler supports strong stack protector 5 days ago
common - renamed 4 weeks ago
example_configs - changed to use include() 4 months ago
src - added check if compiler supports strong stack protector 5 days ago
t - fixed testcase 6 days ago
tiffs_should_fail - init 4 weeks ago
tiffs_should_pass - init 4 weeks ago
.gitignore Ignore compiled files and build directory. 6 years ago
BUGS - renamed checkit/ checkit_tiff/ to prepare repos split 6 years ago
FAQ - typofix 1 week ago
LICENSE - fixed copyright years 4 years ago
README.1st_checkit - fixed links 3 years ago
README.TIFFrisks - fixed typos 5 years ago
README.TIFFspecification - fixed typos 5 years ago
README.compile - minor fix 1 week ago
README.grammar - added hint about checkit_check_config 5 years ago
README.icc - added hint about ICC 5 years ago
README.regex - updated hints to pcre2 1 week ago
README.testsuite - integrated test-target into cmake config 3 years ago
THANKS - improved RPM build (dependency) 9 months ago
TODO - renamed checkit/ checkit_tiff/ to prepare repos split 6 years ago
grammar.xhtml - new grammar with enhanced modes and new Content definitions 5 years ago

README.testsuite

########################################################

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:
$> cmake ../src
$> make
$> make test


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

$> 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!"