diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2024-05-10 11:42:12 -0700 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2024-05-11 07:52:10 +0200 |
commit | 1bb237b695fbabf05fc196748e47b9ecb97e9903 (patch) | |
tree | b968db6ce30e98314f7b8ca090935d0d1ba2343c /test/pthread | |
parent | 76f1c1797d4df964e61d85fbc8dd0205e3af9013 (diff) |
test-skeleton: don't force -d on noMMU
There's a few tests whose do_test() is supposed to time out or terminate
with a signal. Tests communicate it to the test skeleton by defining
EXPECTED_SIGNAL or EXPECTED_STATUS and the skeleton completes with
success code when that happens. Running test suite in direct mode by
default changes that, as a result test running script reports failures
for the tests that actually pass or hangs.
Instead of switching to direct test running when building for noMMU use
vfork() and exec() the test in the child process in direct mode.
This makes the default test process behavior the same on MMU and noMMU
targets.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'test/pthread')
0 files changed, 0 insertions, 0 deletions