[Chapel Merge] Adjust some tests for LLVM backend

Branch: refs/heads/master
Revision: 67621f5
Author: e-kayrakli
Log Message:

Merge pull request #17629 from e-kayrakli/adjust-tests-for-llvm

Adjust some tests for LLVM backend

Supersedes NOTEST some package modules' tests by e-kayrakli · Pull Request #17627 · chapel-lang/chapel · GitHub

Adjusts the following tests:

  1. library/packages/EpochManager/atomicObjects/atomicObjectsTest.chpl

    This test used to leak because of a test error, this PR fixes that.

    The test also fails with ASAN. The reason is not obvious to me and
    @louisjenkinscs is aware of the issue. This PR skipifs that test under ASAN.

  2. library/packages/EpochManager/sharedMemory/sharedMemory.chpl
    library/packages/EpochManager/distributedMemory/distributedMemory.chpl

    These tests leak in a manageable/deterministic way. The reason is not
    obvious to me. This PR makes them into a future where the bad file contains
    the prediffed leak table to prevent further slips.

  3. library/packages/LockFreeQueue/interleavedTest.chpl
    library/packages/LockFreeStack/interleavedTest.chpl
    library/packages/LockFreeQueue/consistencyCheck.chpl
    library/packages/LockFreeStack/consistencyCheck.chpl

    These leak a lot (the table is about 300MB for some), and in a more
    indeterministic fashion. It looks like some locations in the file doesn't leak
    at each run etc. This PR makes these tests into futures without bad files. I kept
    the prediff attempt that would uniq -c leaks in case it helps diagnose the issue

The tests pass/are skipped with the appropriate asan/memleaks configs.

[Trivial, not reviewed]

Modified Files:
A test/library/packages/EpochManager/atomicObjects/atomicObjectsTest.skipif

A test/library/packages/EpochManager/distributedMemory/distributedMemory.bad
A test/library/packages/EpochManager/distributedMemory/distributedMemory.execopts
A test/library/packages/EpochManager/distributedMemory/distributedMemory.future
A test/library/packages/EpochManager/distributedMemory/distributedMemory.prediff
A test/library/packages/EpochManager/leak.prediff
A test/library/packages/EpochManager/sharedMemory/sharedMemory.bad
A test/library/packages/EpochManager/sharedMemory/sharedMemory.execopts
A test/library/packages/EpochManager/sharedMemory/sharedMemory.future
A test/library/packages/EpochManager/sharedMemory/sharedMemory.prediff
A test/library/packages/LockFreeQueue/EXECOPTS
A test/library/packages/LockFreeQueue/PREDIFF
A test/library/packages/LockFreeQueue/consistencyCheck.future
A test/library/packages/LockFreeQueue/interleavedTest.future
A test/library/packages/LockFreeStack/EXECOPTS
A test/library/packages/LockFreeStack/PREDIFF
A test/library/packages/LockFreeStack/consistencyCheck.future
A test/library/packages/LockFreeStack/interleavedTest.future
M test/library/packages/EpochManager/atomicObjects/atomicObjectsTest.chpl

Compare: https://github.com/chapel-lang/chapel/compare/62d419dca5dc...67621f5dd5c9