Closed kv2019i closed 4 months ago
FYI @marc-hb @lyakh @ssavati @andyross
@marc-hb wrote:
This code is useful for stable-v2.2
Please change to:
is_firmware_file_zephyr || ldcFile=$(find_ldc_file) || {
I had this at first, but then started questioning whether adding more conditions makes sense. "is_firmware_file_zephyr" is still heuristics as there's nothing stopping from using sof-logger with Zephyr. So to ease maintainance, why not reduce number of combinations we supprot. I.e. if you want to use sof-test with stable-v2.2 you should have a proper DUT setup with an ldc file to run tests. Period.
Btw, this doesn't yet fix the check-sof-logger test case, but this does get FW logs back in other tests.
Checking for ldc (log dictionary) file existance as a way to decide whether to enable or disable logging during a test case, is no longer applicable as SOF supports multiple firmware logging solutions that do not use an ldc file.
Remove the check as it no longer makes sense.
Link: https://github.com/thesofproject/sof-test/issues/1216