[Chapel Merge] Update c2chapel tests to work if c2chapel not in p

Branch: refs/heads/master
Revision: 1d53137
Author: mppf
Log Message:

Merge pull request #16659 from mppf/fix-c2chapel-testing

Update c2chapel tests to work if c2chapel not in path

Follow-up to PR #16644 and #16560.

PR #16644 stopped leaving anything in CHPL_HOME in PATH when running
tests (because PATH was updated inconsistently in the past and because we
need to remove the venv path).

However that caused problems for test/c2chapel because it assumed
c2chapel was in the PATH. This PR fixes those tests to find c2chapel in
the bin directory.

Reviewed by @ben-albrecht - thanks!

  • [x] full local testing

Modified Files:
M test/c2chapel/SKIPIF
M test/c2chapel/printfWrapper.precomp
M test/c2chapel/testFunctions.precomp
M test/c2chapel/testStructs.precomp
M tools/c2chapel/test/tester.sh

Compare: https://github.com/chapel-lang/chapel/compare/0e465cf2c2d9...1d531373e63b