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-tests using Xemu's testing framework #27

Merged
merged 3 commits into from
Jul 19, 2023
Merged

Conversation

mlund
Copy link
Collaborator

@mlund mlund commented Jul 18, 2023

This enables tests using Xemu but could be expanded to also send to the serial monitor on real hardware. Currently enabled for clang via the cmake and ctest. An example output looks like this:

$ make tests
Test project /Users/mikael/github/mega65-libc/build
    Start 1: test-memory
1/1 Test #1: test-memory ......................   Passed    0.84 sec

100% tests passed, 0 tests failed out of 1

Total Test time (real) =   0.84 sec

Closes #24.

@mlund mlund added the enhancement New feature or request label Jul 18, 2023
@mlund mlund requested a review from ki-bo July 18, 2023 14:16
@mlund mlund self-assigned this Jul 18, 2023
@mlund mlund merged commit c3c2645 into MEGA65:master Jul 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add tests
1 participant