<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[tests fail to build]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I can't get the tests to build on either Debian or Arch.</p>
<p dir="auto">cmake tests<br />
errors out with</p>
<p dir="auto">CMake Error: Error required internal CMake variable not set, cmake may not be built correctly.<br />
Missing variable is:<br />
QT_MOC_EXECUTABLE<br />
CMake Error at CMakeLists.txt:68 (qt_add_resources):<br />
Unknown CMake command "qt_add_resources".</p>
<p dir="auto">Fixing those problems then leads to 'make test' etc fails because gmock headers are in the wrong place.<br />
Each time I fix a problem, it fails on something else.</p>
<p dir="auto">Has anyone managed to build and run the tests?</p>
<p dir="auto">Cheers,<br />
Peter</p>
]]></description><link>https://forum.strawberrymusicplayer.org/topic/641/tests-fail-to-build</link><generator>RSS for Node</generator><lastBuildDate>Wed, 13 May 2026 15:59:06 GMT</lastBuildDate><atom:link href="https://forum.strawberrymusicplayer.org/topic/641.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 26 May 2022 14:41:38 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to tests fail to build on Sun, 12 Jun 2022 18:10:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://forum.strawberrymusicplayer.org/uid/1">@jonas</a><br />
Thanks. I've got it working now. I was missing libgmock-dev, so had no Makefile target for the tests.</p>
]]></description><link>https://forum.strawberrymusicplayer.org/post/1693</link><guid isPermaLink="true">https://forum.strawberrymusicplayer.org/post/1693</guid><dc:creator><![CDATA[PeterB]]></dc:creator><pubDate>Sun, 12 Jun 2022 18:10:54 GMT</pubDate></item><item><title><![CDATA[Reply to tests fail to build on Sat, 11 Jun 2022 15:35:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://forum.strawberrymusicplayer.org/uid/1124">@peterb</a><br />
The correct way to build and run the tests is: <code>make strawberry_tests</code> from the build directory after running cmake<br />
For <code>make strawberry_tests</code> to work, GoogleTest, GMock and Qt Test needs to be detected by CMake first.</p>
]]></description><link>https://forum.strawberrymusicplayer.org/post/1691</link><guid isPermaLink="true">https://forum.strawberrymusicplayer.org/post/1691</guid><dc:creator><![CDATA[jonas]]></dc:creator><pubDate>Sat, 11 Jun 2022 15:35:20 GMT</pubDate></item></channel></rss>