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

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

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).

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.

None yet

2 participants