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

Detect test runner crashes #3129

Merged
merged 2 commits into from
Jul 15, 2023
Merged

Conversation

mrgriffin
Copy link
Collaborator

@mrgriffin mrgriffin commented Jul 14, 2023

Stores some information at the bottom of the IRQ stack. The IRQ stack is not cleared in crt0.s/main.c, which means that even if the game resets the values will still be there. We use this to report that the current test crashed, and resume running the tests from the next test.

I cannot stress strongly enough that .persistent should not be used because the IRQ stack is tiny. (The name was taken from Crater's ld script proposal).

@mrgriffin
Copy link
Collaborator Author

Please let me know before merging so I can rebase :)

test/test_runner.c Outdated Show resolved Hide resolved
@mrgriffin
Copy link
Collaborator Author

Rebased :)

@SBird1337 SBird1337 merged commit 0e9b649 into rh-hideout:master Jul 15, 2023
1 check passed
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