John Cupitt
|
4c5873809f
|
experiment with renaming stream
rename as VipsConnection, VipsSource, VipsTarget etc.
see https://github.com/libvips/libvips/issues/1494#issuecomment-569498619
renamed with this script:
```
set -e
edit() {
sed -i -E "$1" rename
}
for i in $*; do
cp $i rename
edit s/VIPS_STREAMOU/VIPS_TARGET_CUSTOM/g
edit s/VIPS_STREAMO/VIPS_TARGET/g
edit s/VIPS_STREAMIU/VIPS_SOURCE_CUSTOM/g
edit s/VIPS_STREAMI/VIPS_SOURCE/g
edit s/VIPS_STREAM/VIPS_CONNECTION/g
edit s/vips_streamou/vips_target_custom/g
edit s/vips_streamo/vips_target/g
edit s/vips_streamiu/vips_source_custom/g
edit s/vips_streami/vips_source/g
edit s/vips_stream/vips_connection/g
edit s/VipsStreamou/VipsTargetCustom/g
edit s/VipsStreamo/VipsTarget/g
edit s/VipsStreamiu/VipsSourceCustom/g
edit s/VipsStreami/VipsSource/g
edit s/VipsStream/VipsConnection/g
# eg. VIPS_TYPE_STREAM or VIPS_IS_STREAM
edit "s/VIPS_([A-Z]+)_STREAMOU/VIPS_\1_TARGET_CUSTOM/g"
edit "s/VIPS_([A-Z]+)_STREAMO/VIPS_\1_TARGET/g"
edit "s/VIPS_([A-Z]+)_STREAMIU/VIPS_\1_SOURCE_CUSTOM/g"
edit "s/VIPS_([A-Z]+)_STREAMI/VIPS_\1_SOURCE/g"
edit "s/VIPS_([A-Z]+)_STREAM/VIPS_\1_CONNECTION/g"
edit s/streamou/target_custom/g
edit s/streamo/target/g
edit s/streamiu/source_custom/g
edit s/streami/source/g
# various identifiers which also change
edit s/is_a_stream/is_a_source/g
edit s/find_load_stream/find_load_source/g
edit s/find_save_stream/find_save_target/g
edit s/new_from_stream/new_from_source/g
edit s/write_to_stream/write_to_target/g
edit s/vips_thumbnail_stream/vips_thumbnail_source/g
# eg. vips_webpload_stream
edit "s/vips_([a-z]+)load_stream/vips_\1load_source/g"
# eg. vips_webpsave_stream
edit "s/vips_([a-z]+)save_stream/vips_\1save_target/g"
mv rename $i
done
```
|
2019-12-29 21:40:21 +00:00 |
|
John Cupitt
|
6b02c22457
|
add a test with VIPS_STALL
stresses the caching and locality systems
|
2019-12-18 14:41:35 +00:00 |
|
John Cupitt
|
99f535c57a
|
add streams.c test
tests VipsStream*u, at a basic level at least.
|
2019-11-24 18:22:43 +00:00 |
|
John Cupitt
|
efcd31b498
|
add something to test the new restart system
do multiple renders from one seq iage, check fds are opened and closed
as expected
see https://github.com/libvips/libvips/issues/1370
|
2019-10-06 07:25:09 +01:00 |
|
John Cupitt
|
0beb5e9165
|
make test-suite survive make dist
|
2018-07-25 17:17:13 +01:00 |
|
John Cupitt
|
96d5008501
|
fix make dist
|
2018-07-25 16:28:23 +01:00 |
|
John Cupitt
|
48680dccc4
|
remove python test suite
it's in pyvips now
|
2017-09-13 17:45:29 +01:00 |
|
John Cupitt
|
620e9ebf27
|
missing backslash in makefile
|
2017-05-15 10:48:09 +01:00 |
|
John Cupitt
|
1bf8e0847f
|
run py tests from "make check"
though they fail on ubuntu 16.04 due to giflib dumbness
magickload is also failing, investigate
|
2016-06-02 23:10:14 +02:00 |
|
John Cupitt
|
368a74abcd
|
better vips7 filename splitting
helps windows, see https://github.com/jcupitt/build-win32/issues/11
also add some tests
|
2015-10-13 10:29:53 +01:00 |
|
John Cupitt
|
c15f37719b
|
add test_foreign.py
plus some more test images
|
2015-02-16 16:03:39 +00:00 |
|
John Cupitt
|
d6ff5f24c6
|
all tests done and working
phew
|
2015-01-29 14:27:18 +00:00 |
|
John Cupitt
|
2a1a371e5c
|
started test_resample.py
|
2015-01-29 09:29:10 +00:00 |
|
John Cupitt
|
810fac4785
|
start morph test
|
2015-01-28 21:29:06 +00:00 |
|
John Cupitt
|
2ce472a153
|
test hist funcs
|
2015-01-28 17:16:14 +00:00 |
|
John Cupitt
|
27f41d9725
|
add draw tests
|
2015-01-28 14:53:34 +00:00 |
|
John Cupitt
|
ed049b4bf1
|
add more self-tests
|
2015-01-04 22:03:08 +00:00 |
|
John Cupitt
|
a560d3b8c2
|
more osx help
|
2014-12-20 22:25:19 +00:00 |
|
John Cupitt
|
932a16b615
|
improvements to test to help osx
|
2014-12-20 16:17:44 +00:00 |
|
John Cupitt
|
a9109904c1
|
make check both py2 and py3
|
2014-12-12 14:50:31 +00:00 |
|
John Cupitt
|
3d1469179c
|
add the test_thumbnail script too
|
2014-11-20 14:36:04 +00:00 |
|
John Cupitt
|
ee4416040b
|
make a test suite
put the python and non-nip2 bits of the nip2 suite together
some test images too
|
2014-11-19 15:01:28 +00:00 |
|