summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2014-10-31 16:40:59 +0000
committerRichard Hughes <richard@hughsie.com>2014-10-31 16:41:16 +0000
commitf9c620c1e9e17a80e930091077ef6c89872beec7 (patch)
treeee9418776826719f24f2b460e1f0dc61abf9ba3a /data
parent2a2436de04cc3cd1ae6144785ed089449d2f5f29 (diff)
downloadappstream-glib-f9c620c1e9e17a80e930091077ef6c89872beec7.tar.gz
trivial: Fix the libappstream-glib tests when running in a chroot
We can't rely on the fact that there are installed desktop files.
Diffstat (limited to 'data')
-rw-r--r--data/tests/Makefile.am1
-rw-r--r--data/tests/usr/share/applications/test.desktop9
2 files changed, 10 insertions, 0 deletions
diff --git a/data/tests/Makefile.am b/data/tests/Makefile.am
index 9e2546a..839821f 100644
--- a/data/tests/Makefile.am
+++ b/data/tests/Makefile.am
@@ -33,6 +33,7 @@ test_files = \
usr/share/app-install/desktop/test.desktop \
usr/share/app-install/icons/aequorea/iceweasel.png \
usr/share/app-install/icons/test.png \
+ usr/share/applications/test.desktop \
usr/share/icons/hicolor/64x64/apps/test2.png \
usr/share/icons/hicolor/128x128/apps/test3.png \
usr/share/pixmaps/test.png \
diff --git a/data/tests/usr/share/applications/test.desktop b/data/tests/usr/share/applications/test.desktop
new file mode 100644
index 0000000..6eb32b8
--- /dev/null
+++ b/data/tests/usr/share/applications/test.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Color Profile Viewer
+Comment=Inspect and compare installed color profiles
+Icon=audio-input-microphone.svg
+Exec=gcm-viewer
+Terminal=false
+Type=Application
+Categories=System;
+StartupNotify=true