Skip to content

Use obtain_file to get file for test_cases_step#5162

Open
Flamefire wants to merge 3 commits intoeasybuilders:developfrom
Flamefire:obtain-test-cases
Open

Use obtain_file to get file for test_cases_step#5162
Flamefire wants to merge 3 commits intoeasybuilders:developfrom
Flamefire:obtain-test-cases

Conversation

@Flamefire
Copy link
Copy Markdown
Contributor

Searching only source_paths is inconsistent with how patches etc. are located making it impossible to place tests e.g. next to easyconfigs or in software-specific source folders.

Also fix some small issues:

  • RunShellCmdError should be derived from Exception not BaseException
  • As our RunShellCmdError prints some information on invocation when "escaped" I kept the except EasyBuildError purposely not catching the former
  • The original command specified for tests is now reported when not found instead of whatever path was last checked

@boegel boegel added the bug fix label Apr 8, 2026
@boegel boegel added this to the release after 5.3.0 milestone Apr 8, 2026
@boegel boegel changed the title Use obtain_file to get file for test_cases_step Use obtain_file to get file for test_cases_step Apr 8, 2026
Searching only `source_paths` is inconsistent with how patches etc. are
located making it impossible to place tests e.g. next to easyconfigs or
in software-specific source folders.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants