[libcalamares] Fix build of tests
- Typed in on FreeBSD, where it doesn't get built
This commit is contained in:
parent
cca067a34d
commit
43c5e1fc96
@ -231,6 +231,8 @@ if( KPMcore_FOUND )
|
||||
libcalamarespartitionkpmtest
|
||||
SOURCES
|
||||
partition/KPMTests.cpp
|
||||
LIBRARIES
|
||||
${OPTIONAL_PRIVATE_LIBRARIES}
|
||||
)
|
||||
endif()
|
||||
|
||||
|
@ -22,12 +22,12 @@
|
||||
|
||||
#include <QtTest/QtTest>
|
||||
|
||||
class KPMTests
|
||||
class KPMTests : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
KPMTests();
|
||||
~KPMTests() overr;
|
||||
~KPMTests() override;
|
||||
private Q_SLOTS:
|
||||
void initTestCase();
|
||||
|
||||
@ -54,6 +54,8 @@ KPMTests::testFlagNames()
|
||||
{
|
||||
cDebug() << f << s;
|
||||
names.append( s );
|
||||
|
||||
f <<= 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user