[Chapel Merge] Fix regex/allocationCounts test with --fast, --bas

Branch: refs/heads/main
Revision: c073e96
Author: aconsroe-hpe
Link: Fix regex/allocationCounts test with --fast, --baseline, and --memLeaks by aconsroe-hpe · Pull Request #18759 · chapel-lang/chapel · GitHub
Log Message:

Merge pull request #18759 from aconsroe-hpe/fix/allocationcount-skipif

Fix regex/allocationCounts test with --fast, --baseline, and --memLeaks

reviewed by daviditen

test/regex/allocationCounts is meant to capture how much we allocate in typical scenarios.

However, we see variability depending on compile options, --fast and --baseline, and exec options like --memLeaks.

These fix the failing tests in the respective testing configurations (correctness-test-{fast,baseline,memleaks}

Modified Files:
A test/regex/allocationCounts.skipif

M test/regex/allocationCounts.prediff

Compare: https://github.com/chapel-lang/chapel/compare/2585d813beb3...c073e96a4a00