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

Make tests generic over any GcSystem #28

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Techcable
Copy link
Member

@Techcable Techcable commented Jul 2, 2021

This depends on #27

While zerogc is implementation agnostic in theory, in practice, it would be difficult to test multiple implementations without copying all the tests.

Therefore, I've refactored the tests into a separate zerogc-test crate, that is able to test any GcSystem.

Unfortunately there is a tiny issue with the implementation
so I'm not pushing this to master just yet.
I plan to maybe add the tests from the JikesRVM collector....
https://github.com/JikesRVM/JikesRVM/tree/master/MMTk/harness/test-scripts

Also there's a possibility of implmenting a small scheme
too (I think that would also be a good test for DuckASM)
@Techcable Techcable changed the title Refactor/gene tests Make tests generic over any GcSystem Jul 2, 2021
@Techcable Techcable marked this pull request as draft July 2, 2021 08:16
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