Skip to content

[enhancement] Skip tests if their dependencies fail #3500

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

Merged
merged 2 commits into from
Jun 12, 2025

Conversation

vkarak
Copy link
Contributor

@vkarak vkarak commented Jun 6, 2025

When a test's dependencies fail, the test is now simply skipped and is put in a special state fail_deps. This is needed to be able to differentiate the tests that have been skipped due to failed dependencies in order to retry them in case of --max-retries or restore them with --restore-session --failed.

Closes #3480.

@vkarak vkarak added this to the ReFrame 4.9 milestone Jun 6, 2025
@vkarak vkarak requested review from ekouts, victorusu and teojgo June 6, 2025 22:12
@vkarak vkarak self-assigned this Jun 6, 2025
@vkarak vkarak force-pushed the enhancement/no-dep-fail branch from ac3566e to 170f6ff Compare June 6, 2025 22:13
@vkarak vkarak force-pushed the enhancement/no-dep-fail branch from 170f6ff to 9273e95 Compare June 6, 2025 22:14
@github-project-automation github-project-automation bot moved this from Todo to In Progress in ReFrame Backlog Jun 12, 2025
@vkarak vkarak enabled auto-merge June 12, 2025 12:29
@vkarak vkarak merged commit 41587cc into reframe-hpc:develop Jun 12, 2025
37 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in ReFrame Backlog Jun 12, 2025
@vkarak vkarak deleted the enhancement/no-dep-fail branch June 12, 2025 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Do not create failure info entry for tests whose dependencies fail
2 participants