automated: linux: pi-stress: add generic pass/fail logic
Enhance the pi-stress test to automatically determine a PASS or
FAIL result based on collected inversion measurements.
This change:
- Adds logic to parse the inversion values from output.
- Calculates the minimum observed inversion.
- Sets a threshold at 110% of the minimum inversion.
- 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 pi-stress 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