node-editor: Save test data relative to current working directory
authorSimon McVittie <smcv@debian.org>
Tue, 6 Dec 2022 11:13:59 +0000 (11:13 +0000)
committerSimon McVittie <smcv@debian.org>
Sat, 9 Sep 2023 19:32:02 +0000 (20:32 +0100)
commitfb1715f9b998bcbd1338a9d1aa5ac0b2cf981fa5
treea408e755cea9978b9cd1d6677eb2577576a69b1e
parent1a0dc4e1b99acced049fd68ba5c18bef2764d94a
node-editor: Save test data relative to current working directory

This avoids hard-coding the GTK source directory into the binary, which
would make the binary non-reproducible across different source paths,
particularly in a distro build environment where the source directory
used by autobuilders will often not exist on end-user systems. The node
editor can still be used to create new test-cases by running it with the
GTK source directory as its current working directory.

Bug: https://gitlab.gnome.org/GNOME/gtk/-/issues/5403
Forwarded: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/5297
Signed-off-by: Simon McVittie <smcv@debian.org>
Gbp-Pq: Name node-editor-Save-test-data-relative-to-current-working-di.patch
demos/node-editor/meson.build