gimp/plug-ins/python/tests/test-file-plug-ins/meson.build
Bruno Lopes 2ce3c604e2
build, plug-ins: Generate *associations.list automatically at build-time
This is way easier to maintain and creates a bigger list of
associations by following the libraries that GIMP links
(but does not work with more complex code like file-gegl).

Also helps with
https://gitlab.gnome.org/Infrastructure/gimp-macos-build/-/issues/3
2025-05-30 19:23:41 -03:00

23 lines
717 B
Meson

if not stable or not release or gimp_version.endswith('+git') or get_option('file-plug-ins-test')
# This does not get installed for releases
python_plugins += {
'name': 'test-file-plug-ins',
'srcs': [
# modules
'tests/test-file-plug-ins/gimplogger.py',
'tests/test-file-plug-ins/gimpconfig.py',
'tests/test-file-plug-ins/gimptestframework.py',
'tests/test-file-plug-ins/gimpexporttests.py',
# actual GIMP plug-in
'tests/test-file-plug-ins/test-file-plug-ins.py',
# scripts to start the tests in batch mode
'tests/test-file-plug-ins/batch-import-tests.py',
'tests/test-file-plug-ins/batch-export-tests.py',
],
}
# configuration data for the tests
subdir('tests')
endif