mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-04 01:43:24 +00:00
plug-ins, tests: add tests for more file formats...
using example files from the nomacs testset.
This commit is contained in:
parent
731766e9bc
commit
acead5642e
8 changed files with 73 additions and 0 deletions
|
@ -0,0 +1,6 @@
|
||||||
|
[test-1]
|
||||||
|
enabled=True
|
||||||
|
description=Test loading avif images from the nomacs formats testset
|
||||||
|
folder=nomacs-testset/AVIF/
|
||||||
|
files=avif-tests-1.files
|
||||||
|
source=https://github.com/nomacs/formats_testset
|
|
@ -3,6 +3,12 @@ verbose=0
|
||||||
|
|
||||||
# When adding ini files, don't forget to add them to meson.build
|
# When adding ini files, don't forget to add them to meson.build
|
||||||
|
|
||||||
|
[avif]
|
||||||
|
enabled=True
|
||||||
|
plugin-import=file-heif-av1-load
|
||||||
|
extension=avif
|
||||||
|
tests=avif-tests.ini
|
||||||
|
|
||||||
[bmp]
|
[bmp]
|
||||||
enabled=True
|
enabled=True
|
||||||
enabled-export=False
|
enabled-export=False
|
||||||
|
@ -48,6 +54,19 @@ plugin-import=file-gif-load
|
||||||
extension=gif
|
extension=gif
|
||||||
tests=gif-tests.ini
|
tests=gif-tests.ini
|
||||||
|
|
||||||
|
[heic]
|
||||||
|
enabled=True
|
||||||
|
plugin-import=file-heif-load
|
||||||
|
extension=heic
|
||||||
|
tests=heic-tests.ini
|
||||||
|
|
||||||
|
[hej2]
|
||||||
|
# Needs libheif 1.17.0 or higher in our Debian CI before we can enable this.
|
||||||
|
enabled=False
|
||||||
|
plugin-import=file-heif-hej2-load
|
||||||
|
extension=heic
|
||||||
|
tests=hej2-tests.ini
|
||||||
|
|
||||||
[icns]
|
[icns]
|
||||||
enabled=True
|
enabled=True
|
||||||
plugin-import=file-icns-load
|
plugin-import=file-icns-load
|
||||||
|
@ -78,6 +97,12 @@ plugin-import=file-jpeg-load
|
||||||
extension=jpg
|
extension=jpg
|
||||||
tests=jpeg-tests.ini
|
tests=jpeg-tests.ini
|
||||||
|
|
||||||
|
[jxl]
|
||||||
|
enabled=True
|
||||||
|
plugin-import=file-jpegxl-load
|
||||||
|
extension=jxl
|
||||||
|
tests=jxl-tests.ini
|
||||||
|
|
||||||
[pcx]
|
[pcx]
|
||||||
enabled=True
|
enabled=True
|
||||||
plugin-import=file-pcx-load
|
plugin-import=file-pcx-load
|
||||||
|
@ -121,6 +146,12 @@ plugin-import=file-psp-load
|
||||||
extension=psd
|
extension=psd
|
||||||
tests=psp-tests.ini
|
tests=psp-tests.ini
|
||||||
|
|
||||||
|
[qoi]
|
||||||
|
enabled=True
|
||||||
|
plugin-import=file-qoi-load
|
||||||
|
extension=qoi
|
||||||
|
tests=qoi-tests.ini
|
||||||
|
|
||||||
[sgi]
|
[sgi]
|
||||||
enabled=True
|
enabled=True
|
||||||
plugin-import=file-sgi-load
|
plugin-import=file-sgi-load
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
[test-1]
|
||||||
|
enabled=True
|
||||||
|
description=Test loading heic images from the nomacs formats testset
|
||||||
|
folder=nomacs-testset/HEIC/
|
||||||
|
files=heic-tests-1.files
|
||||||
|
source=https://github.com/nomacs/formats_testset
|
|
@ -0,0 +1,6 @@
|
||||||
|
[test-1]
|
||||||
|
enabled=True
|
||||||
|
description=Test loading hej2 images from the nomacs formats testset
|
||||||
|
folder=nomacs-testset/HEJ2/
|
||||||
|
files=hej2-tests-1.files
|
||||||
|
source=https://github.com/nomacs/formats_testset
|
|
@ -4,3 +4,10 @@ description=Test loading jp2 images from Pillow TestSuite
|
||||||
folder=pillow/
|
folder=pillow/
|
||||||
files=jp2-pillow-tests.files
|
files=jp2-pillow-tests.files
|
||||||
source=https://github.com/python-pillow/Pillow/tree/master/Tests/images
|
source=https://github.com/python-pillow/Pillow/tree/master/Tests/images
|
||||||
|
|
||||||
|
[test-2]
|
||||||
|
enabled=True
|
||||||
|
description=Test loading hej2 images from the nomacs formats testset
|
||||||
|
folder=nomacs-testset/JPEG2000/
|
||||||
|
files=jpf-tests-1.files
|
||||||
|
source=https://github.com/nomacs/formats_testset
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
[test-1]
|
||||||
|
enabled=True
|
||||||
|
description=Test loading jxl images from the nomacs formats testset
|
||||||
|
folder=nomacs-testset/JXL/
|
||||||
|
files=jxl-tests-1.files
|
||||||
|
source=https://github.com/nomacs/formats_testset
|
|
@ -5,6 +5,7 @@ install_data([
|
||||||
'config.ini', # not yet updated!
|
'config.ini', # not yet updated!
|
||||||
'batch-config.ini',
|
'batch-config.ini',
|
||||||
# file format specific config files for import testing
|
# file format specific config files for import testing
|
||||||
|
'avif-tests.ini',
|
||||||
'bmp-tests.ini',
|
'bmp-tests.ini',
|
||||||
'dcx-tests.ini',
|
'dcx-tests.ini',
|
||||||
'dds-tests.ini',
|
'dds-tests.ini',
|
||||||
|
@ -12,17 +13,21 @@ install_data([
|
||||||
'fits-tests.ini',
|
'fits-tests.ini',
|
||||||
'fli-tests.ini',
|
'fli-tests.ini',
|
||||||
'gif-tests.ini',
|
'gif-tests.ini',
|
||||||
|
'heic-tests.ini',
|
||||||
|
'hej2-tests.ini',
|
||||||
'icns-tests.ini',
|
'icns-tests.ini',
|
||||||
'ico-tests.ini',
|
'ico-tests.ini',
|
||||||
'j2k-tests.ini',
|
'j2k-tests.ini',
|
||||||
'jp2-tests.ini',
|
'jp2-tests.ini',
|
||||||
'jpeg-tests.ini',
|
'jpeg-tests.ini',
|
||||||
|
'jxl-tests.ini',
|
||||||
'pcx-tests.ini',
|
'pcx-tests.ini',
|
||||||
'png-tests.ini',
|
'png-tests.ini',
|
||||||
'pnm-tests.ini',
|
'pnm-tests.ini',
|
||||||
'psb-tests.ini',
|
'psb-tests.ini',
|
||||||
'psd-tests.ini',
|
'psd-tests.ini',
|
||||||
'psp-tests.ini',
|
'psp-tests.ini',
|
||||||
|
'qoi-tests.ini',
|
||||||
'sgi-tests.ini',
|
'sgi-tests.ini',
|
||||||
'tga-tests.ini',
|
'tga-tests.ini',
|
||||||
'tif-tests.ini',
|
'tif-tests.ini',
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
[test-1]
|
||||||
|
enabled=True
|
||||||
|
description=Test loading qoi images from the nomacs formats testset
|
||||||
|
folder=nomacs-testset/QOI/
|
||||||
|
files=qoi-tests-1.files
|
||||||
|
source=https://github.com/nomacs/formats_testset
|
Loading…
Add table
Add a link
Reference in a new issue