Uh oh!
There was an error while loading. Please reload this page.
opt.sh: catch duplicate --long options - #794
Conversation
As found by Pierre in fixthesofproject#791 Until thesofproject#791 is merged it should fail like this: 23:29:31 [ERROR] Duplicate '--loop' option: loop count 23:29:31 [ERROR] Starting func_exit_handler(), exit status=1, FUNCNAME stack: 23:29:31 [ERROR] die() @ ./test-case/../case-lib/lib.sh 23:29:31 [ERROR] _fill_opt_vars() @ sof-test/case-lib/opt.sh:59 23:29:31 [ERROR] func_opt_parse_option() @ sof-test/case-lib/opt.sh:120 23:29:31 [ERROR] main() @ ./test-case/multiple-pause-resume.sh:48 Signed-off-by: Marc Herbert <marc.herbert@intel.com>
marc-hb
commented
Oct 27, 2021
|
marc-hb
commented
Oct 28, 2021
The https://sof-ci.01.org/softestpr/PR794/build909/devicetest/?model=GLK_BOB_DA7219&testcase=check-kmod-load-unload-after-playback has an interesting corruption that is totally unrelated to this PR. |
marc-hb
commented
Oct 28, 2021
SOFCI TEST |
marc-hb
commented
Oct 28, 2021
https://sof-ci.01.org/softestpr/PR794/build910/devicetest/?model=CML_RVP_SDW&testcase=check-suspend-resume-with-playback-5 has again the old rtcwake timeout while https://sof-ci.01.org/softestpr/PR794/build910/devicetest/?model=BYT_MB_NOCODEC&testcase=check-alsabat-headset-playback has some usual alsabat failure. Everything else is green. |
greg-intel
commented
Nov 13, 2021
I'm curious why the duplication of an argument occurs. It's not common to have to check that an arg only appears once, so I'm wondering if there's a root cause we can fix? |
marc-hb
commented
Nov 13, 2021
Because of hasty copy/paste/diverge, already fixed by #791. This one is so it never happens again. |
As found by Pierre in fix#791
Until #791 is merged it should fail like this:
Signed-off-by: Marc Herbert marc.herbert@intel.com