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 list of allowed nextest error codes #491

Merged
merged 2 commits into from
Feb 6, 2025

Conversation

vincentberthier
Copy link
Contributor

Some of nextest’s error codes are perfectly legitimate to get when running cargo-mutants, not just 'TEST_RUN_FAILED'.

This adds:

  • NO_TESTS_RUN (code 4),
  • BUILD_FAILED (code 101)
    to the list of nextest error codes that are silently accepted (so on top of TEST_RUN_FAILED, code 100).

Closes #461

@sourcefrog sourcefrog self-assigned this Feb 5, 2025
@sourcefrog sourcefrog merged commit 8c9f648 into sourcefrog:main Feb 6, 2025
@vincentberthier vincentberthier deleted the nextest_codes branch February 6, 2025 18:04
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.

Expect error 101 from nextest when build fails?
2 participants