On Wed, Dec 11, 2013 at 2:52 PM, Dawit A <adawit@kde.org> wrote:
On Tue, Dec 10, 2013 at 1:45 PM, Albert Astals Cid <aacid@kde.org> wrote:El Dimarts, 10 de desembre de 2013, a les 08:57:47, Dawit A va escriure:
> Sorry for the late response. I did not see this email for some reason. NoneIs your Qt compiled in debug or release? Because as my original e-mail says if
> of the test cases in testRetryDialog hit that assert on my machine.
it's in release the assert won't trigger.Ahh... I assumed you were talking about kde-runtime not Qt.Attached, is that enough?
> If this
> unit test fails on your system, can you please enable the debug area for
> KPasswdServer, run the unit test only for testRetryDialog only and provide
> the output from it?
That is fine. The test is indeed doing the wrong thing. It conflated two cases that should be tested separately into one.Because we switched to a debug Qt that now has asserts enabled.
> I am curious to know why it would start failing all of
> the sudden since nothing was changed in that code base in a very long time.
Right.Can you please check if the attached pass works fine for you? It fixes the broken test case for me here.I have now tested that patch on the CI system. It fixes the issue Albert mentions.Test project /srv/jenkins/workspace/kde-runtime_master/buildStart 1: kpasswdservertest1/9 Test #1: kpasswdservertest ................ Passed 0.28 secStart 2: testkioarchive2/9 Test #2: testkioarchive ................... Passed 0.29 secStart 3: testtrash3/9 Test #3: testtrash ........................ Passed 1.72 secStart 4: testdesktop4/9 Test #4: testdesktop ...................... Passed 0.31 secStart 5: kurifiltertest5/9 Test #5: kurifiltertest ................... Passed 10.07 secStart 6: backtraceparsertest6/9 Test #6: backtraceparsertest .............. Passed 5.67 secStart 7: filetypestest7/9 Test #7: filetypestest .................... Passed 1.18 secStart 8: sortfiltermodeltest8/9 Test #8: sortfiltermodeltest .............. Passed 0.04 secStart 9: fullmodelaccesstest9/9 Test #9: fullmodelaccesstest .............. Passed 0.01 sec100% tests passed, 0 tests failed out of 9Regards,Ben