automated: linux: cyclicdeadline: add generic pass/fail logic
Enhance the cyclicdeadline test to automatically determine a PASS or
FAIL result based on collected max-latency measurements.
This change:
- Adds logic to parse the max-latency values from output.
- Calculates the minimum observed latency.
- Sets a threshold at 110% of the minimum latency.
- Counts the number of runs that exceed this threshold.
- Fails the test if more than half the iterations exceed the threshold.
This enables automated evaluation of cyclicdeadline results without
manual inspection, making the test more suitable for continuous
integration environments.
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
1 file changed