I was testing a broken HW recently where suspend was failing on random devices. I wanted to run full 10000 iteration to get a feel of how many failures I see and which are the devices that actually fail. I used:
"suspend_stress_test -c 10000 --noerrors_fatal"
when I realized that at the end it only tells me the number of failures. It was very difficult (or painful) to actually dig down the logs for dmesg for those failed iterations among the thousands of iterations.
I modified the script to add this feature (that records dmesg of failed iterations) and now filing a bug to check it in (in the hope that this may be useful to others).
Comment 1 by bugdroid1@chromium.org
, May 26 2016