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