-
Notifications
You must be signed in to change notification settings - Fork 349
[SKIP CI] github actions: run unit tests #4543
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
81641ba to
bc41f51
Compare
Collaborator
Author
|
The "Misplaced SPDX-License-Identifier" is a checkpatch bug: it gets confused when the diff is at a certain distance from the top of the file. |
Fixes 'no previous prototype for trace_log_filtered' -Werr and redefinition of ‘trace_flush_dma_to_mbox’ error. Signed-off-by: Marc Herbert <marc.herbert@intel.com>
This has been finding several pre-processing bugs already. Short of randconfig some variety is the best we have. Signed-off-by: Marc Herbert <marc.herbert@intel.com>
Link to the CMake section in sof-docs which documents a lot of what this script does and is probably out of date now. It would be less out of date if this link had been there and more people had been aware that this documentation even existed. Signed-off-by: Marc Herbert <marc.herbert@intel.com>
Before this it was required to find and run the executables one by one Signed-off-by: Marc Herbert <marc.herbert@intel.com>
Adds --error-exitcode=1 to valgrind options (otherwise what's the point of using valgrind?) Skip alloc test that does not pass on HOST (passes with xt-run) Add help message. Runnable from anywhere. Use shell functions thesofproject/sof-test#740 Fix all quoting issues and other shellcheck warnings. Add comments. Signed-off-by: Marc Herbert <marc.herbert@intel.com>
It is failing and skipped only when compiled on the host, runs fine with xt-run. This is temporarily needed to add host-based unit tests to CI now and catch any regression in any other test now. Signed-off-by: Marc Herbert <marc.herbert@intel.com>
Because we can. Signed-off-by: Marc Herbert <marc.herbert@intel.com>
Collaborator
Author
Collaborator
Author
lgirdwood
approved these changes
Jul 26, 2021
marc-hb
added a commit
to marc-hb/sof-docs
that referenced
this pull request
Jul 26, 2021
... and now even CI does it since thesofproject/sof#4543 Signed-off-by: Marc Herbert <marc.herbert@intel.com>
marc-hb
added a commit
to marc-hb/sof-docs
that referenced
this pull request
Jul 26, 2021
... and now even CI does it since thesofproject/sof#4543 Also mention run-cmocks.sh Signed-off-by: Marc Herbert <marc.herbert@intel.com>
lgirdwood
pushed a commit
to thesofproject/sof-docs
that referenced
this pull request
Jul 27, 2021
... and now even CI does it since thesofproject/sof#4543 Also mention run-cmocks.sh Signed-off-by: Marc Herbert <marc.herbert@intel.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Skip the "alloc" test for now as it fails when built on the host (it passes and it is run with xt-run)