Gimp/plug-ins/python/tests/test-file-plug-ins/meson.build
Jehan 03e9fbbd92 gitlab, meson, plug-ins: add a -Dfile-plug-ins-test meson option.
This option is run by the CI and makes so that the test-file-plug-ins
plug-in is always installed in the CI, even on stable releases. But by
default, they are not installed on stable releases.
2024-12-27 15:15:25 +01:00

23 lines
710 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
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