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>
Tue, 6 Dec 2022 11:52:29 +0000 (11:52 +0000)
commit8bc22a2bb9614e6a76b926a698f7d4cc7c09008a
tree548095edaa46b8fc5f250fc14a5d796281a577de
parent947fbb752c063822ac9efd72ce6d04e47172d940
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