Skip to content
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

Add support for running tests inside stage2 #150

Closed
wants to merge 2 commits into from

Conversation

AdamCDunlap
Copy link
Contributor

In the same way that support was added for running tests inside the svsm kernel, add tests that run inside stage2. This is useful for stage2-specific componenets such as the stage 2 #VC handler.

@joergroedel
Copy link
Member

Please fix the failing test case. This also breaks the test-in-svsm target.

These tests can't be run inside the svsm kernel and they can't be run
inside stage2 either.

Signed-off-by: Adam Dunlap <[email protected]>
In the same way that support was added for running tests inside the svsm
kernel, add tests that run inside stage2. This is useful for
stage2-specific componenets such as the stage 2 #VC handler.

Signed-off-by: Adam Dunlap <[email protected]>
@AdamCDunlap
Copy link
Contributor Author

Thanks for taking a look!

Please fix the failing test case.

I updated the github action to build the stage2.bin target since it's required to do that before building stage1. I think it'd be better if this was not necessary, but this is how it was done when the test-kernel target was added and I'm not sure how to do it better.

This also breaks the test-in-svsm target.

Fixed in the same way. I missed that because it only breaks if you make clean first.

Also rebased and fixed merge conflicts

@AdamCDunlap AdamCDunlap closed this Jan 5, 2024
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.

2 participants