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

Move all tests for streaming decoder to t/nqp #669

Merged
merged 3 commits into from
Sep 25, 2020
Merged

Conversation

usev6
Copy link
Contributor

@usev6 usev6 commented Sep 25, 2020

This proposal is related to #668: I plan to add more tests to the new test file t/nqp/116-streaming-decoder.t, and it feels clearer to have the tests in one common test file.

I might have missed a reason for having backend-specific test files (for the decoder tests). If so, it would be nice if someone could point that out to me.

The tests have been added in combination with a fix for the JVM
backend (dbc1484). But it won't harm to run them on MoarVM, too.
The first one does not pass on the JVM backend, so it is skipped
for now. But it should work on all backends, to it seems to be
ok to move it to a common test file.
@jnthn
Copy link
Contributor

jnthn commented Sep 25, 2020

I might have missed a reason for having backend-specific test files (for the decoder tests). If so, it would be nice if someone could point that out to me.

Only because the API was initially only implemented in full on MoarVM. If it's being ported more thoroughly, then moving the test file makes sense (this just saved todo'ing stuff all over in the past).

@jnthn jnthn merged commit 37963db into Raku:master Sep 25, 2020
@usev6 usev6 deleted the jvm_decoder branch September 25, 2020 09:58
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.

3 participants