1
1
mirror of https://gitlab.gnome.org/GNOME/gimp.git synced 2025-10-06 01:12:40 +02:00

desktop: fix AppData unit testing when in RC+git code.

We still want the normal GIMP_RELEASE C macro to be set because the
whole development frame should have code behaving like release code, yet
only for the AppStream metadata testing, we want to allow a "TODO"
release date while in +git code.
This commit is contained in:
Jehan
2024-12-06 17:43:58 +09:00
parent e6ad3ad0cd
commit a18d347bf5
2 changed files with 3 additions and 1 deletions

View File

@@ -49,7 +49,7 @@ if appstreamcli.found()
find_program('test-appdata.sh', required: true, dirs: [meson.current_source_dir()]),
env: [
'GIMP_TESTING_BUILDDIR=' + meson.current_build_dir(),
'GIMP_RELEASE=' + (release ? '1' : '0'),
'GIMP_RELEASE=' + (release and not gimp_rc_git ? '1' : '0'),
],
suite: 'desktop',
)