Skip to content
Commit 4de3fd06 authored by Quentin Perret's avatar Quentin Perret
Browse files

tests/cpuhp: Ensure tests fail when the target crashed



The CPU hotplug test is full of useless dependencies which silently talk
to the target (rt-app, freezing userspace, ftrace, ...). When the target
crashes during the hotplug stress, requests sent to the target because
of the above modules can hang indefinitely, or fail miserably. That is
an issue since, in the specific case of the hotplug test, we would like
to classify these crashes as test failures.

Remove all the dependencies by overwritting the runExperiments method of
LisaTest in order to avoid using an Executor. The test spawns a bash
script on the target that plugs CPUs in and out for a specific duration,
and check on the host side if the target is still alive after a while.

Signed-off-by: default avatarQuentin Perret <quentin.perret@arm.com>
parent 171e77fa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment