Branch: refs/heads/main
Revision: d6eb1442f43e6525caed1d5ddafea483166ec583
Author: e-kayrakli
Link: Use a sub_test trick in lieu of skipif for mason testing by e-kayrakli · Pull Request #28158 · chapel-lang/chapel · GitHub
Log Message:
Use a sub_test trick in lieu of skipif for mason testing (#28158)
sub_test doesn't have the full environment. This precludes us from
checking whether the mason executable exists. I wanted to have that
check for my new mason tests that launch mason from the shell. However,
that proved to be too difficult with the current testing infrastructure.
Instead, this adjusts the custom sub_test to skip if mason
executable is not in the path given to sub_test by start_test.
[Reviewed by @jabraham17]
Diff:
D test/mason/mason-prereq/SKIPIF
M test/mason/mason-prereq/prereq1/sub_test
https://github.com/chapel-lang/chapel/pull/28158.diff