Merged
Conversation
- Not removed are the legacy integration tests. - Detail and asm tests are now in the yaml test files.
The MCUpdater is completely rewritten to generate yaml test files from the LLVM MC tests. Also the compatibility header got a test case in CMake.
c5bd850 to
c9c98ad
Compare
864c9dd to
d5bdcba
Compare
kabeor
reviewed
Aug 27, 2024
Collaborator
Author
|
@kabeor I fixed the Auto-Sync workflow. Please take another look. |
We cannot toggle between alias or non aias assembly currently. So valid tests fail because the non alias asm text is compared.
This was referenced Sep 3, 2024
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
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.
Your checklist for this pull request
Detailed description
Supersedes #2456
Modernize testing.
The new unit testing is build around
yamlfiles. They can be consumed by the C test engine (cstest) or any bindings easily.Statistics
The new
cstestlogs technically two statistics. One bycmockaand one bycstest.The reason is:
cmockadoesn't provide the detailed statistics to us. So we cannot print a nice summary at the end.Changes
cstestC-implementationpy_cstestPython-implementationyamlfiles.Current test coverage of Auto-Sync
<ARCH>Mapping.cfiles by runningcstest test/:After merge
Test plan
Added and all green
Closing issues
closes #1984
closes #2405
closes #2383
closes #2383