You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE] use --fatal-errors for aplay/arecord tests #1120
Is your feature request related to a problem? Please describe.
When we reach an xrun, we should stop sof-test scripts. xruns need to be recoverable, but they should never happen. we don't want to miss these issues because the recovery quicks-in and hides problems.
Describe the solution you'd like
Add --fatal-errors to aplay/arecord command-line options.
Example run with --test-position (needs aplay patch to dump the last result)
Describe alternatives you've considered
none that I can think of
Additional context
Not sure if we want to add this in sof-test proper, or add this in the environment variables with "APLAY_OPTS" that are already supported.
Activity
plbossart commentedon Oct 27, 2023
related PR: alsa-project/alsa-utils#242
plbossart commentedon Aug 15, 2024
btw this PR alsa-project/alsa-utils#242 was merged so most likely we can "just" add this --fatal-errors option to tests?
marc-hb commentedon Aug 15, 2024
Yes, work in "progress": b4523e0
marc-hb commentedon Aug 15, 2024
We don't have a way to upgrade ALSA on test devices AFAIK
marc-hb commentedon Mar 19, 2025
I lost track of why this is not a duplicate of