Skip to content

Stop running ptests in parallel

Joshua Watt yocto 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Revert "runner: Correctly handle running parallel tests"tests/utils.c utils.c+105 -1820 replies
2/4Recreate pipe for each testutils.c+24 -210 replies
3/4Report if child dies from a signaltests/data/signal/ptest/run-ptest tests/utils.c utils.c+68 -210 replies
4/4Change test timeout to be total elapsed timetests/data/hang/ptest/run-ptest tests/utils.c utils.c+14 -120 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [ptest-runner][PATCH 0/4] Stop running ptests in parallel

07d8a67 ("runner: Correctly handle running parallel tests") made an incorrect assumption that it was OK to run ptests in parallel and interleave the output. This is not correct since OE selftest expects all text between a BEGIN and END block to be for a single ptest. Revert the commit to run in parallel and add the correct fix for the bug with running multiple ptests in a single invocation, as well as a few other fixes

Joshua Watt (4):
Revert "runner: Correctly handle running parallel tests" Recreate pipe for each test
Report if child dies from a signal
Change test timeout to be total elapsed time

 tests/data/hang/ptest/run-ptest   |   1 +
 tests/data/signal/ptest/run-ptest |  10 ++
 tests/utils.c                     |   4 +-
 utils.c                           | 290 +++++++++++++-----------------
 4 files changed, 140 insertions(+), 165 deletions(-)
 create mode 100755 tests/data/signal/ptest/run-ptest
Signature · 1 line
2.33.0