[Chapel Merge] Quiet some tests under gasnet ASan

Branch: refs/heads/master
Revision: 3fddf00
Author: ronawho
Log Message:

Merge pull request #16876 from ronawho/quiet-gasnet-asan

Quiet some tests under gasnet ASan

[reviewed by @e-kayrakli]

Skip --cache-remote variant of optimizations/sungeun/optimized-on/loop when
ASan is on (cache-remote is not currently compatible with ASan)

Skip interop/C/multilocale/globals/use_reliesOnGlobal unless memory sanitizer
is on. This test relies on an uninitialized global having a defined value,
which is undefined behavior. The value is some sentinel under ASan, and happens
to be 0 on most systems we run on, but the behavior is truly undefined, so
don’t run it unless memory sanitizer is on. We don’t actually have memory
sanitizer testing yet, but when we do this test will run and should get a real
error message from MSan.

Resolves https://github.com/cray/chapel-private/issues/1488

Modified Files:
A test/interop/C/multilocale/globals/use_reliesOnGlobal.skipif
M test/optimizations/sungeun/optimized-on/loop.compopts

Compare: https://github.com/chapel-lang/chapel/compare/ef497536cd17...3fddf00ee8b0