-
-
Notifications
You must be signed in to change notification settings - Fork 173
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
Test fixture root is not correct for some tests #521
Comments
Hello everyone! I think there are a couple ways this could be done reliably that I can think of.
|
Both options seem reasonable. I would opt for the least amount of change for the enduser (so option 2),.. but having option 1 as a backup (so you can override if the system cannot find it for whatever reason) might be nice too.. I just don't know if that is a lot of work or not.. |
I'm just able to respond as I was away last week. Honestly the simplest change is the first one as it is basically changing the FIXTURE_ROOT variable. |
I have created a PR with the second way but figured we should discuss the second way as well. |
I was reading the docs and I saw in the binaries docs parser-test, this issue is still listed. Should I remove it in this PR? |
When running
make test
, the system will run ./src/bin/parser-test.rs. This tries to find the tests in FIXTURE_ROOT, but they are not present there. However, the tests in the gosub_html5 crate, do find these tests at the correct position, mainly because the FIXTURE_ROOT is a relative path.We somehow must make this more consistent so we can run both
make test
, and have the CI passThe text was updated successfully, but these errors were encountered: