]> code.ossystems Code Review - openembedded-core.git/commit
libevent: mark util/monotonic_prc_fallback as retriable
authorThomas Perrot <thomas.perrot@bootlin.com>
Wed, 29 Sep 2021 15:02:04 +0000 (17:02 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 1 Oct 2021 13:51:23 +0000 (14:51 +0100)
commitcae0eb03e8e754bd77651fc017b2669f8fd57f75
treebb462ea02e266be94f21bf20e1772b9ee3d49fcf
parente71280883c217d86b4636da6e549334183f1aff7
libevent: mark util/monotonic_prc_fallback as retriable

Backport a patch to fix the below ptest failure:
 # ./run-ptest
 Running tests:
 EVPORT
 Skipping test
 KQUEUE
 Skipping test
 EPOLL
 test-eof: OKAY
 test-dumpevents: OKAY (output not checked)
 regress:
  FAIL ../libevent-2.1.12-stable/test/regress_util.c:1478: assert(diff.tv_sec == 0): 1 vs 0 util/monotonic_prc_fallback:
  [monotonic_prc_fallback FAILED]
 1/312 TESTS FAILED. (33 skipped)
 FAILED
 regress_debug:
  FAIL ../libevent-2.1.12-stable/test/regress_util.c:1478: assert(diff.tv_sec == 0): 1 vs 0 util/monotonic_prc_fallback:
  [monotonic_prc_fallback FAILED]
 1/312 TESTS FAILED. (33 skipped)
 FAILED
 [snip]

(From OE-Core rev: edecbbdacab5227c75e4a199e124389f8036b421)

[YOCTO #14507]

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/libevent/libevent/0003-test-mark-util-monotonic_prc_fallback-as-retriable.patch [new file with mode: 0644]
meta/recipes-support/libevent/libevent/0004-test-retriable-tests-are-marked-failed-only-when-all-a.patch [new file with mode: 0644]
meta/recipes-support/libevent/libevent/run-ptest
meta/recipes-support/libevent/libevent_2.1.12.bb