Skip to content

Conversation

@marc-hb
Copy link
Collaborator

@marc-hb marc-hb commented Nov 23, 2021

Now that the sof-logger is well tested with Zephyr, change the
is_zephyr() test to count the number of "zephyr" strings in the .ldc
dictionary file. The previous test was based on /etc/sof/manifest.txt
which is a CI-only file. This probably removes a dependency on 'jq' too.

Signed-off-by: Marc Herbert marc.herbert@intel.com

Now that the sof-logger is well tested with Zephyr, change the
is_zephyr() test to count the number of "zephyr" strings in the .ldc
dictionary file. The previous test was based on /etc/sof/manifest.txt
which is a CI-only file. This probably removes a dependency on 'jq' too.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
@marc-hb
Copy link
Collaborator Author

marc-hb commented Nov 24, 2021

Big regressions in https://sof-ci.01.org/softestpr/PR810/build926/devicetest unrelated to this, see thesofproject/linux#3292 for more details.

EDIT: fixed by revert thesofproject/linux#3294

@marc-hb marc-hb marked this pull request as ready for review November 24, 2021 00:30
@marc-hb marc-hb requested a review from a team as a code owner November 24, 2021 00:30
@marc-hb
Copy link
Collaborator Author

marc-hb commented Nov 24, 2021

SOFCI TEST

https://sof-ci.01.org/softestpr/PR810/build928/devicetest looks much better. "premptible" suspend/resume issue thesofproject/linux#3283 + some known race condition at ADL boot

Copy link
Contributor

@keqiaozhang keqiaozhang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This removes the dependency on jq.

Copy link
Contributor

@greg-intel greg-intel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I don't know enough about the ldc file to determine if there's a way to check a specific value directly, but 0 vs 30 is a pretty clear message.

@marc-hb marc-hb merged commit 007683c into thesofproject:main Dec 3, 2021
@marc-hb marc-hb deleted the is-zephyr-strings branch December 3, 2021 01:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants