diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7412c6a..557a444 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -65,7 +65,7 @@ jobs: run: | cd build sudo cmake --build . --target install - ctest + ctest --output-on-failure - name: pack if: matrix.build == 'shared-libsystemd' && matrix.os == 'ubuntu-20.04' run: | diff --git a/tests/integrationtests/DBusGeneralTests.cpp b/tests/integrationtests/DBusGeneralTests.cpp index 457520b..1e09811 100644 --- a/tests/integrationtests/DBusGeneralTests.cpp +++ b/tests/integrationtests/DBusGeneralTests.cpp @@ -116,7 +116,8 @@ TEST_F(AConnection, CanAddFloatingMatchRule) }; con->addMatch(matchRule, std::move(callback), sdbus::floating_slot); m_adaptor->emitSimpleSignal(); - assert(waitUntil(matchingMessageReceived, 2s)); + [[maybe_unused]] auto gotMessage = waitUntil(matchingMessageReceived, 2s); + assert(gotMessage); matchingMessageReceived = false; con.reset();