Unable to pass unit tests on fresh clone when GNOME Podcasts not installed
Steps to reproduce
git clone git@ssh.gitlab.gnome.org:World/podcasts.git
cd podcasts/
meson --prefix=/usr build
cd build
meson test
Reference: #129 (comment 1843050)
Reproducible in:
- Flatpak unstable: (yes or no) N/A
- Other:
master
(01a21802)
Current behavior
The test named test_stuff
fails because it tries to read the file /usr/share/gnome-podcasts/resources.gresource
which may not exist.
Error: Failed to open file “/usr/share/gnome-podcasts/resources.gresource”: open() failed: No such file or directory
Expected behavior
The unit tests should not assume GNOME Podcasts has been installed on the system.
(I use GNOME Podcasts via Flatpak. And having trouble installing from source atm, so still working that one out.)
Additional information
Workaround
sudo mkdir -p /usr/share/gnome-podcasts
sudo cp build/podcasts-gtk/resources/resources.gresource /usr/share/gnome-podcasts
Edited by Seth Falco