[Chapel Merge] update mason test's .skipif check

Branch: refs/heads/main
Revision: 1f3cc26
Author: arezaii
Log Message:

Merge pull request #18517 from arezaii/mason-skipif-eval

update mason test's .skipif check

This PR modifies the .skipif check for certain mason tests that fail to run
due to a failure to locate the mason executable.

Fix for https://github.com/Cray/chapel-private/issues/2541

Thanks to @ronawho for suggesting this fix.

TESTING:

  • [x] util/start_test test/mason all tests pass

Reviewed by @ronawho, thanks!

Signed-off-by: arezaii ahmad.rezaii@hpe.com

Modified Files:
M test/mason/mason-help-scope/masonHelpScope.skipif

M test/mason/mason-test-exit/exitCodeTest.skipif

Compare: https://github.com/chapel-lang/chapel/compare/590e91b4df98...1f3cc26bf507