Skip to content

Enhanced skip ocode tests #29

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gulrak
Copy link
Collaborator

@gulrak gulrak commented Feb 3, 2025

This PR is meant to enhance the skip opcode tests, as three of them were succeeding if the skip opcode is a no-op.
My changes test each skip with a skipping and a non-skipping test (originally only a non-skipping test was done in most of them) and are ordered in a way that no-op-ing through them will lead to a fail.

This should fix #28 as well.

PS: I additionally added an option to the ffmpeg call that stops an error in the log from appearing on my side, when building the tests. I hope it's universal.

Copy link
Owner

@Timendus Timendus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great. I thought I had checked for no-op passing these opcodes, but maybe I didn't. It's originally someone else's test after all, so I'll just pass on the blame ;P

sprite x2 y 4

#################
# Test 5xy0

y := 11
drawop im5 imX
i := image-no
i := image-no
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whitespace change

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.

5XY0 not tested properly in "Corax+ opcode test"
2 participants