-
Notifications
You must be signed in to change notification settings - Fork 59
multiple-pipeline: fix set -e compatibility and add it #497
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The shellcheck warnings in https://travis-ci.org/github/thesofproject/sof-test/jobs/741782133 predates this PR. The only test failure in https://sof-ci.01.org/softestpr/PR497/build367/devicetest is known bug thesofproject/sof#3462 and this test code change cannot cause this sort of failure, especially not on just one platform. |
|
https://sof-ci.01.org/softestpr/PR497/build372/devicetest is 100% successful and no shellcheck warning in https://travis-ci.org/github/thesofproject/sof-test/builds/742370356 is new |
|
https://sof-ci.01.org/softestpr/PR503/build373/devicetest/?model=BYT_MB_NOCODEC&testcase=check-alsabat-headset-playback looks like thesofproject/sof#3462 again. This PR doesn't change this test |
Notably remove top-level "expr" because "expr 0" is surprisingly a failure and expr is antiquited anyway (SC2003) Progress towards thesofproject#312. Also add a dlogc() before killing so no one mistakes the deaths of aplay and arecord for failures. Add shellcheck source=case-lib/lib.sh, removes 5 warnings. Signed-off-by: Marc Herbert <marc.herbert@intel.com>
aiChaoSONG
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, failures on APL and BDW is not related.
|
This change broke the test in some configurations, tentative fix in #521 |
... because its normal output is typically discarded. This would have avoided regression 202507f / thesofproject#497 fixed by thesofproject#521. This could help with other multi pipelines issues. Also add a documentation header so not everyone has to read the entire code. Also add a warning about the massive copy/paste across multiple-pipeline-playback and multiple-pipeline-capture (these are the heaviest sof-process-state users). Signed-off-by: Marc Herbert <marc.herbert@intel.com>
... because its normal output is typically discarded. This would have avoided regression 202507f / thesofproject#497 fixed by thesofproject#521. This could help with other multi pipelines issues. Also add a documentation header so not everyone has to read the entire code. Signed-off-by: Marc Herbert <marc.herbert@intel.com>
... because its normal output is typically discarded. This would have avoided regression 202507f / thesofproject#497 fixed by thesofproject#521. This could help with other multi pipelines issues. Also add a documentation header so not everyone has to read the entire code. When a process is not found just say so. No need for guesses and interpretations. Signed-off-by: Marc Herbert <marc.herbert@intel.com>
... because its normal output is typically discarded. This would have avoided regression 202507f / #497 fixed by #521. This could help with other multi pipelines issues. Also add a documentation header so not everyone has to read the entire code. When a process is not found just say so. No need for guesses and interpretations. Signed-off-by: Marc Herbert <marc.herbert@intel.com>
Notably remove top-level "expr" because "expr 0" is surprisingly a
failure and expr is antiquited anyway (SC2003)
Also add a dlogi() before killing so no one mistakes the deaths of aplay
and arecord for failures.
Progress towards #312.
Signed-off-by: Marc Herbert marc.herbert@intel.com