libvips/test/test-suite
John Cupitt b836749b75 close jpeg read early
The current behaviour (close input handles on unref) works for languages
like C / C++ / Python / Rust / etc. where things get unreffed automatically
when they go out of scope.

On languages like Ruby / C# / node / etc. where things are unreffed on GC,
files can stay open for a long time after you've finished with them. This
interacts in an unfortunate way with the Windows default of refusing to
remove open files.

This change closes file handles as soon as the scan of the input file
finishes, and therefore produces something closer to expected behaviour
for GCd languages on Windows.

see https://github.com/kleisauke/net-vips/issues/12
2018-08-16 15:47:48 +01:00
..
helpers make test-suite survive make dist 2018-07-25 17:17:13 +01:00
images add test for new ICO sniffer 2018-07-25 15:34:31 +01:00
__init__.py vmoe the test suite back into libvips 2018-07-06 15:43:20 +01:00
conftest.py vmoe the test suite back into libvips 2018-07-06 15:43:20 +01:00
Makefile.am make test-suite survive make dist 2018-07-25 17:17:13 +01:00
test_arithmetic.py vmoe the test suite back into libvips 2018-07-06 15:43:20 +01:00
test_colour.py vmoe the test suite back into libvips 2018-07-06 15:43:20 +01:00
test_conversion.py vmoe the test suite back into libvips 2018-07-06 15:43:20 +01:00
test_convolution.py vmoe the test suite back into libvips 2018-07-06 15:43:20 +01:00
test_create.py vmoe the test suite back into libvips 2018-07-06 15:43:20 +01:00
test_draw.py vmoe the test suite back into libvips 2018-07-06 15:43:20 +01:00
test_foreign.py close jpeg read early 2018-08-16 15:47:48 +01:00
test_histogram.py vmoe the test suite back into libvips 2018-07-06 15:43:20 +01:00
test_iofuncs.py vmoe the test suite back into libvips 2018-07-06 15:43:20 +01:00
test_morphology.py vmoe the test suite back into libvips 2018-07-06 15:43:20 +01:00
test_resample.py vmoe the test suite back into libvips 2018-07-06 15:43:20 +01:00