Commit Graph

179 Commits

Author SHA1 Message Date
Bob Friesenhahn
b772c5a5d6 Export certain variables (MAKE, MAKEFLAGS, MEMCHECK) to tests and
added 'memcheck' and 'ptrcheck' targets to make it easy to run the
tests under valgrind.
2009-08-23 23:23:19 +00:00
Bob Friesenhahn
63e03ebcec tiffcrop.sh into a collection of many specific tests. Re-wrote
all of the existing tests to be based on some simple shell
functions.  Make distcheck works again.
2009-08-23 22:58:25 +00:00
Bob Friesenhahn
3237e5e177 * test/Makefile.am, test/tiffcrop*.sh: Split previously existing
tiffcrop.sh into a collection of many specific tests.
2009-08-23 20:19:40 +00:00
Bob Friesenhahn
b44da14dea Add start of XFAIL_TESTS 2009-08-22 01:45:32 +00:00
Bob Friesenhahn
9ebd845680 * test/tiffcp-logluv.sh: Fix test so that it works with a VPATH
build.
2009-08-21 18:00:07 +00:00
Bob Friesenhahn
38521145a6 * test/Makefile.am (AUTOMAKE_OPTIONS): Colorized tests was not
actually activated since it needed to be enabled in this
Makefile.am.  Also activated parallel-tests mode since it offers
useful features such as per-test .log files and a summary test
report .log file.
2009-08-21 16:52:14 +00:00
Bob Friesenhahn
8297307011 * configure.ac: Updated autotools. Autoconf 2.64, Automake 1.11,
libtool 2.2.6.  Enabled support for silent build rules
(--enable-silent-rules or 'make V=0') and colorized tests.

* html/{index.html, v3.9.0.html}: Update for 3.9.0 release.
2009-08-20 22:57:38 +00:00
Frank Warmerdam
f4da7ed52e add -c sgilog to tiffcp, add minimal logluv testing 2009-06-30 17:25:26 +00:00
Frank Warmerdam
a042a8d460 added tiff2rgba tests 2009-02-13 21:26:03 +00:00
Frank Warmerdam
6b1e83821b default srcdir to . in test scripts if not set 2009-01-23 05:37:18 +00:00
Frank Warmerdam
1c8edd0d0a turn verbose on after common setup 2009-01-23 05:32:37 +00:00
Bob Friesenhahn
1ff9c1c489 * test/common.sh: Execute tests like 'make VERBOSE=TRUE check' in
order to trace full execution detail while executing the test suite.
2009-01-21 17:48:18 +00:00
Bob Friesenhahn
d6c4560053 * test/Makefile.am (CLEANFILES): Make sure that test output files
are removed by 'make clean'
2009-01-21 02:06:55 +00:00
Bob Friesenhahn
506c21992e * test/tiffcrop.sh: New test script for tiffcrop from Richard
Nolde.

* tools/tiff2ps.c: Remove spurious message to stderr.
2009-01-12 16:23:11 +00:00
Bob Friesenhahn
953d02c32d * libtiff/tiffio.h: GCC will now validate format specifications
for TIFFError(), TIFFErrorExt(), TIFFWarning(), and
TIFFWarningExt() in order to reveal bugs.
* Many fixes throughout to work better as a 64-bit build.
2008-12-31 23:48:01 +00:00
Bob Friesenhahn
968401fdf3 * tools/{tiff2pdf.c, tiff2ps.c, tiffinfo.c}: Offset and length
tags now require 64-bit parameter rather than 32-bit.
* libtiff/tif_dirread.c: Fixed issues with unaligned access to
64-bit values.
2008-12-31 03:06:27 +00:00
Bob Friesenhahn
bb9ee50811 Don't throw away output to stderr. Collect and display it if there is an error. 2008-12-30 21:59:54 +00:00
Bob Friesenhahn
dbd1873ffa * tools/tiffinfo.c (main): Offset to EXIF IFD requires a 64-bit
type now.  Fixes crash when dumping files containing an EXIF IFD.
* m4/libtool.m4: Update to libtool 2.2.6.
2008-12-29 23:44:18 +00:00
Frank Warmerdam
9fa82bfb78 fix typo with status, and supress stderr output 2008-09-02 02:26:19 +00:00
Bob Friesenhahn
a4e657cc8a * test {tiff2pdf.sh tiff2ps-EPS1.sh tiff2ps-PS1.sh tiff2ps-PS2.sh
tiff2ps-PS3.sh tiffcp-g3-1d-fill.sh tiffcp-g3-1d.sh
tiffcp-g3-2d-fill.sh tiffcp-g3-2d.sh tiffcp-g3.sh tiffcp-g4.sh
tiffcp-split-join.sh tiffcp-split.sh tiffcp-thumbnail.sh
tiffdump.sh tiffinfo.sh}: Added more test scripts based on
suggestions from Lee Howard posted to the tiff list on 13 Sep
2007.
2008-05-24 22:24:25 +00:00
Frank Warmerdam
d4099b8eee update for 4.0.0beta1 release 2008-05-18 16:25:47 +00:00
Bob Friesenhahn
9015352474 * Makefile.am (ACLOCAL_AMFLAGS): Libtool 2.2.4 does not like
"ACLOCAL_AMFLAGS=-I ./m4".  It wants "ACLOCAL_AMFLAGS=-I m4".
2008-05-09 16:20:49 +00:00
Andrey Kiselev
73865f3af5 Added tests for short tags with pairs of values. 2008-04-15 14:20:30 +00:00
Andrey Kiselev
924a2d8827 Added CheckShortPairedField() function. 2008-04-15 14:19:37 +00:00
Andrey Kiselev
c87f985159 Added tifftest.h. 2008-04-15 14:19:08 +00:00
Andrey Kiselev
f52bf76e67 New. 2008-04-15 14:18:36 +00:00
Andrey Kiselev
a4317025a9 Remove test for "PixarTextureformat" tag because of its unclear status and
format of contents; test passes now.
2008-04-15 13:32:12 +00:00
Andrey Kiselev
481c2432f2 Use _TIFFRewriteField() instead of TIFFRewriteField(). 2008-04-15 12:53:07 +00:00
Bob Friesenhahn
88d7b2ff9f Reduce compilation warnings. 2008-03-28 01:42:06 +00:00
Frank Warmerdam
19fb2c9918 added rewrite_tag test 2008-01-01 13:57:21 +00:00
Frank Warmerdam
586a6869b7 New 2008-01-01 13:55:23 +00:00
Bob Friesenhahn
2737e0e77b * test/images: Added a small collection of test images for use by
test programs and scripts.
* test/tiffinfo.sh: A trivial example test script.
* test/common.sh: Added small script for setting the environment
used by script-based tests.
2007-09-19 21:51:00 +00:00
Andrey Kiselev
42bed3384e libtiff 4.0.0alpha released. 2007-07-13 14:57:37 +00:00
Bob Friesenhahn
b2328c5b5d * libtiff/tif_stream.cxx: Adapt to use toff_t again. Update to
use standard C++ library size types and attempt to detect overflow
cases.
2007-07-11 20:27:14 +00:00
Andrey Kiselev
f14d1a5636 All makefile templates regenerated. 2007-06-27 12:03:37 +00:00
Bob Friesenhahn
671e370838 Added support for a TIFF_PTRDIFF_T type to use when doing pointer arithmetic. 2007-06-26 20:05:33 +00:00
Bob Friesenhahn
71b780383f Hopefully fixed botched upgrade of libtool. 2007-06-26 16:38:43 +00:00
Bob Friesenhahn
8c4398d0d6 * port/strtoull.c: New porting function in case strtoull() is not
available on the target system.
* configure.ac: Add configure support for determining sized types
in a portable way and performing necessary substitutions in
tif_config.h and tiffconf.h.  Updated tiff.h to use the new
definitions.
2007-06-25 15:38:21 +00:00
Andrey Kiselev
514fb56f86 Regenerated. 2006-06-07 15:55:20 +00:00
Bob Friesenhahn
56f599add1 * libtiff/{tif_dirinfo.c, tif_print.c} : Fix crash in
TIFFPrintDirectory().  Joris Van Damme authored the fix.
2006-06-03 15:28:29 +00:00
Andrey Kiselev
b90b47e6f7 libtiff 3.8.2 released. 2006-03-23 14:54:00 +00:00
Andrey Kiselev
0dcb9ef111 libtiff 3.8.1 released. 2006-03-13 15:06:17 +00:00
Andrey Kiselev
f714980a3d libtool related stuff updated from the 2.1a branch. 2006-01-23 18:21:45 +00:00
Bob Friesenhahn
c1961f4111 * test/Makefile.am (LIBTIFF): Due to linking against libtiff
incorrectly, tests were not actually testing the uninstalled
libtiff.  Now they are.
2006-01-08 18:57:33 +00:00
Andrey Kiselev
0776b32d29 3.8.0 released. 2005-12-29 22:01:44 +00:00
Bob Friesenhahn
a45bff3b5a * libtiff/tif_jpeg.c: Improve compilation under MinGW. 2005-12-27 00:08:14 +00:00
Frank Warmerdam
d5b74c4d29 New 2005-11-21 00:55:38 +00:00
Andrey Kiselev
a63512c436 libtiff 3.7.4 released. 2005-09-12 14:04:01 +00:00
Andrey Kiselev
f41cf89f4c *** empty log message *** 2005-07-12 16:07:43 +00:00
Andrey Kiselev
dcbfebbb38 *** empty log message *** 2005-06-23 13:38:13 +00:00
Andrey Kiselev
40ae66301e Use libtool machinery to pass rpath option. 2005-03-22 10:33:04 +00:00
Andrey Kiselev
185a73a37a Regenerated. 2005-03-08 19:16:14 +00:00
Andrey Kiselev
c0d1f11f57 *** empty log message *** 2005-01-15 17:24:52 +00:00
Andrey Kiselev
6be3d0ae56 Move the C++ stuff in the separate library called libtiffxx. 2005-01-11 15:07:06 +00:00
Andrey Kiselev
ffcc0cda93 libtiff 3.7.1 released. 2004-12-20 19:43:34 +00:00
Andrey Kiselev
be71b688b7 Updated. 2004-12-16 19:19:09 +00:00
Bob Friesenhahn
aa8ccdf669 * libtiff/tif_jpeg.c: Added a work-around in order to allow
compilation with the heavily modified version of libjpeg delivered
with Cygwin.
2004-12-01 01:59:10 +00:00
Andrey Kiselev
3ea29bb2c0 *** empty log message *** 2004-11-21 16:28:42 +00:00
Andrey Kiselev
f9fb6c863e Regenerated from templates. 2004-11-11 14:47:47 +00:00
Andrey Kiselev
298c868679 Casting fixes. 2004-10-10 11:54:54 +00:00
Andrey Kiselev
1d7710fbd1 *** empty log message *** 2004-10-09 18:36:47 +00:00
Bob Friesenhahn
54d78d3e2b * contrib/iptcutil/README: Added the missing README which goes
along with iptcutil.
2004-10-05 01:28:40 +00:00
Andrey Kiselev
9f33c698e0 libtiff 3.7.0beta2 released. 2004-10-02 13:54:50 +00:00
Andrey Kiselev
2a85ad222c *** empty log message *** 2004-10-02 11:16:04 +00:00
Andrey Kiselev
453ae1a8e4 *** empty log message *** 2004-10-01 14:16:37 +00:00
Andrey Kiselev
e758fc849e libtiff 3.7.0beta released. 2004-09-19 10:44:18 +00:00
Andrey Kiselev
eca092d8d3 *** empty log message *** 2004-09-15 13:00:02 +00:00
Andrey Kiselev
41a9133549 *** empty log message *** 2004-09-14 15:14:21 +00:00
Andrey Kiselev
cdd3cd562d New tests. 2004-09-14 15:01:16 +00:00
Andrey Kiselev
ee0fe81fd0 short.tag.c test case added. 2004-09-13 10:33:57 +00:00
Bob Friesenhahn
d0318870ba Fix tiffgt compilation. 2004-09-12 16:40:39 +00:00
Bob Friesenhahn
fbfe4927b5 Configure and install tiffconf.h in order to satisfy application requirements. 2004-09-11 20:44:41 +00:00
Andrey Kiselev
a0cf9e9230 New. 2004-09-10 13:47:08 +00:00
Andrey Kiselev
566bf7c4d8 long_tag.c test added. 2004-09-10 13:46:21 +00:00
Andrey Kiselev
c03b670e23 Bug fixed. 2004-09-10 13:40:24 +00:00
Andrey Kiselev
31cc6250bf Avoid warnings. 2004-09-10 13:08:03 +00:00
Andrey Kiselev
bcef546262 Complete this test case. 2004-09-10 12:59:57 +00:00
Andrey Kiselev
570f55bb0c Added test case for ASCII tags. 2004-09-03 15:03:34 +00:00
Andrey Kiselev
6caede6c10 *** empty log message *** 2004-08-07 18:20:35 +00:00