[partition] On FreeBSD, don't expect the KPMCore test to work

This commit is contained in:
Adriaan de Groot 2024-06-20 19:48:47 +02:00
parent 991be792c0
commit ea744a0c0c

View File

@ -51,6 +51,11 @@ DevicesTests::testKPMScanDevices()
cDebug() << "Getting devices via KPMCore";
CoreBackend* backend = CoreBackendManager::self()->backend();
#ifdef Q_OS_FREEBSD
QEXPECT_FAIL( "", "Test backend not expected on FreeBSD", Continue );
QVERIFY( backend );
return;
#endif
QVERIFY( backend );
auto devices = backend->scanDevices( ScanFlag( ~0 ) ); // These flags try to get "all"
cDebug() << Logger::SubEntry << "Done getting devices.";