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

Add precondition to run tests #2887

Merged
merged 1 commit into from
Jul 15, 2024
Merged

Add precondition to run tests #2887

merged 1 commit into from
Jul 15, 2024

Conversation

janmasrovira
Copy link
Collaborator

@janmasrovira janmasrovira commented Jul 12, 2024

Some tests require external dependencies, such as rustc, wasmer, run_cairo_vm.sh, etc. If one does not have some of these available on their computer, then the test suite will have a lot of failed tests with the same fail message X is not on $PATH. This can be a bit ditracting and it slows running the test suite.
I've introduced some preconditions that are checked before the actual test suite so that if some of these commands are not on path then the tests that need them are not run. Instead, you get a single failed test (for each of the subtrees that failed the precondition).

@janmasrovira janmasrovira merged commit 7d2a59c into main Jul 15, 2024
4 checks passed
@janmasrovira janmasrovira deleted the tests-precondition branch July 15, 2024 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants