Summary: | dev-cpp/doctest: tests fail intermittently on alpha, hppa (timeout-related) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | matoro <matoro_gentoo> |
Component: | Current packages | Assignee: | Petr Vaněk <arkamar> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | alpha, hppa, matoro_gentoo, mgorny, proxy-maint |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/doctest/doctest/issues/711 | ||
See Also: | https://github.com/gentoo/gentoo/pull/30607 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 837098, 873814 | ||
Attachments: |
LastTest.log
build.log |
Description
matoro
![]() Created attachment 816124 [details]
LastTest.log
Created attachment 816127 [details]
build.log
It also requires dev-vcs/git in BDEPEND, but that's a moot point until we can get the tests passing. This is a true horror — and the output is completely unreadable. (In reply to matoro from comment #3) > It also requires dev-vcs/git in BDEPEND, but that's a moot point until we > can get the tests passing. Actually git is optional, it is used only if it is found only for showing difference in test results, see [1]. I decided to not put it to the BDEPEND list because it is useful only for debugging purposes. [1] https://github.com/doctest/doctest/blob/86892fc480f80fb57d9a3926cb506c0e974489d8/scripts/cmake/exec_test.cmake#L42-L47 Could you try ignoring the problem and seeing if revdeps work? I suppose they may not be affected by this. (In reply to Michał Górny from comment #6) > Could you try ignoring the problem and seeing if revdeps work? I suppose > they may not be affected by this. They almost certainly will since this pretty much only affects the timeout decorator feature, but signing off on a keyword when tests are explicitly not passing kind of defeats the point of the tests. This is on my todo list to go back and re-investigate, and of course if anyone else would like to take a crack at it, just let me know for hardware access. This blocks two of the three remaining items left to transition alpha from exp -> dev. This also affects hppa apparently. https://github.com/doctest/doctest/pull/770 This fixes HPPA, and partially fixes alpha (remaining items are segfaults, not test failures). The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b88bedd14cd548acfdbabb96a4300522db9f2109 commit b88bedd14cd548acfdbabb96a4300522db9f2109 Author: Matoro Mahri <matoro@users.noreply.github.com> AuthorDate: 2023-04-15 19:33:59 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-04-26 04:02:59 +0000 dev-cpp/doctest: add patch for tests with clock resolution problems See: https://github.com/doctest/doctest/pull/770 See: https://github.com/doctest/doctest/issues/711 Bug: https://bugs.gentoo.org/874345 Signed-off-by: Matoro Mahri <matoro@users.noreply.github.com> Closes: https://github.com/gentoo/gentoo/pull/30607 Signed-off-by: Sam James <sam@gentoo.org> dev-cpp/doctest/doctest-2.4.11.ebuild | 1 + .../files/doctest-2.4.11-backport-pr770.patch | 72 ++++++++++++++++++++++ 2 files changed, 73 insertions(+) |