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 unit test support and add unit test for new chroot_correct_qemu logic that is out of execute_chroot_script #245

Merged
merged 2 commits into from
Feb 22, 2025

Conversation

guysoft
Copy link
Owner

@guysoft guysoft commented Feb 4, 2025

The code block in execute_chroot_script has been causing a lot of confusion to what needs to execute. I think its time to start adding unit tests and define what we want it to do.

This PR splits some of the logic in to common.sh and also adds methods to run unit tests, as well as automated ci for the unit test.

Related: #240

@guysoft guysoft force-pushed the feature/unit-testing branch from c2296ef to 15370fe Compare February 22, 2025 22:11
@guysoft guysoft merged commit 19a8738 into devel Feb 22, 2025
2 checks passed
@guysoft
Copy link
Owner Author

guysoft commented Feb 22, 2025

Looks like this works and there are tests now, merging

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.

1 participant