Skip to content

Make the VU0 S1/S2 enum coverage test independent of the working directory - #233

Open
hedgeg0d wants to merge 1 commit into
ran-j:mainfrom
hedgeg0d:main
Open

Make the VU0 S1/S2 enum coverage test independent of the working directory#233
hedgeg0d wants to merge 1 commit into
ran-j:mainfrom
hedgeg0d:main

Conversation

@hedgeg0d

Copy link
Copy Markdown

Closes #101

The VU0 S1/S2 enum coverage test looked for instructions.h via paths relative to the current directory, so it only passed when ps2x_tests was run from the repo root. Running it from anywhere else failed with an empty file read.

CMake now passes the absolute path to the ps2xRecomp include dir as a compile definition, and the test tries that path first. The old relative paths stay as a fallback.

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.

I found 1 failed test about the cover of all S1/S2 enums for VU0 macro mappings

1 participant