mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-08 00:48:45 +02:00
tests: Avoid chdir() call at the start of appinfo tests
By encoding the path to the appinfo-test binary in the .desktop files, we can avoid a chdir() call in the tests, which was a bit ugly. Signed-off-by: Philip Withnall <withnall@endlessm.com> https://gitlab.gnome.org/GNOME/glib/issues/538
This commit is contained in:
6
gio/tests/appinfo-test-gnome.desktop.in
Normal file
6
gio/tests/appinfo-test-gnome.desktop.in
Normal file
@@ -0,0 +1,6 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=appinfo-test
|
||||
Exec=@installed_tests_dir@/appinfo-test --option
|
||||
OnlyShowIn=GNOME;KDE;
|
||||
NotShowIn=ROX;
|
Reference in New Issue
Block a user