[Chapel Merge] Mason connectivity check

Branch: refs/heads/main
Revision: 458718d
Author: arezaii
Link: Unavailable
Log Message:

Merge pull request #18617 from arezaii/mason-connectivity-check

Mason connectivity check

This PR adds a simple ping check to several mason tests that rely on network
connectivity to github.

The list of mason tests that will skip if there there is no connectivity
to github.com:

  • mason/masonUpdateTest.chpl *
  • mason/mason-example/mason-example.chpl
  • mason/mason-example-with-opts/mason-example.chpl
  • mason/mason-external/libtomlc99/mason-external.chpl
  • mason/mason-external/masonExternalRanges/mason-external-range.chpl
  • mason/mason-test/mason-test.chpl
  • mason/mason-test-exit/exitCodeTest.chpl

TESTING:

  • execute util/start_test test/mason without network connectivity
  • 94 pass with network connectivity, 0 fail
  • 86 tests pass without any connectivity, 0 fail

*Note that there are 8 more successful tests with connectivity, but only
7 test names listed. This is because mason/masonUpdateTest.chpl runs
with 2 execopts so it contributes 2 success counts

Reviewed by @dlongnecke-cray, thanks!

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

Modified Files:
A test/mason/mason-example-with-opts/mason-example.skipif

A test/mason/mason-example/mason-example.skipif
A test/mason/mason-external/githubConnectivityCheck
A test/mason/mason-external/libtomlc99/mason-external.skipif
A test/mason/mason-external/masonExternalRanges/mason-external-range.skipif
A test/mason/mason-test-exit/exitCodeTest.skipif
A test/mason/masonUpdateTest.skipif
R test/mason/mason-example-with-opts/mason-example.skipif
R test/mason/mason-example/mason-example.skipif
R test/mason/mason-test-exit/exitCodeTest.skipif
R test/mason/masonUpdateTest.skipif
M test/mason/mason-test/mason-test.skipif
M test/mason/publish/publishHelp.chpl
M test/mason/publish/publishHelpShort.chpl

Compare: https://github.com/chapel-lang/chapel/compare/4ac45a112642...458718de340d