community/polkit-qt: disable check
Fix No tests were found!!!
error causing build failure with abuild 3.14.0. Ref: #16519 (closed)
Disable check due to 3 subtests within the BaseTest failing:
TestAuth::test_Auth_checkAuthorization()
TestAuth::test_Auth_enumerateActions()
TestAuth::test_Authority()
The contents of TestAuth::test_Session()
were already commented out in the original source and did not actually run.
Test results below, same for both qt5 and qt6:
Start 1: BaseTest
1/1 Test #1: BaseTest .........................***Failed 0.44 sec
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-build'
********* Start testing of TestAuth *********
Config: Using QtTest library 5.15.10, Qt 5.15.10 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 14.2.0), alpine 3.21.
0_alpha20240923
PASS : TestAuth::initTestCase()
FAIL! : TestAuth::test_Auth_checkAuthorization() Compared values are not the same
Actual (result) : Unknown
Expected (Authority::No): No
Loc: [/home/build/tests/polkit-qt/src/polkit-qt-1-0.200.0/test/test.cpp(33)]
FAIL! : TestAuth::test_Auth_enumerateActions() '!Authority::instance()->hasError()' returned FALSE. ()
Loc: [/home/build/tests/polkit-qt/src/polkit-qt-1-0.200.0/test/test.cpp(78)]
PASS : TestAuth::test_Identity()
FAIL! : TestAuth::test_Authority() '!authority->hasError()' returned FALSE. ()
Loc: [/home/build/tests/polkit-qt/src/polkit-qt-1-0.200.0/test/test.cpp(149)]
PASS : TestAuth::test_Subject()
PASS : TestAuth::test_Session()
PASS : TestAuth::test_Details()
PASS : TestAuth::cleanupTestCase()
Totals: 6 passed, 3 failed, 0 skipped, 0 blacklisted, 4ms
********* Finished testing of TestAuth *********
Edited by mio