taucmdr.cf.compiler.tests.test_shmem module

Test functions.

Functions used for unit tests of shmem.py.

class taucmdr.cf.compiler.tests.test_shmem.OpenSHMEMWrapperTest(methodName='runTest')[source]

Bases: TestCase

Tests for probing OpenSHMEM compiler wrappers.

_classSetupFailed = False
_class_cleanups = []
_make_compiler(name, script)[source]
test_no_showme_wrapper()[source]

A reference OpenSHMEM style compiler that rejects -showme isn’t an error.

test_required_wrapper()[source]

Families that don’t set optional_wrapper still reject commands that don’t accept the show flags.

test_showme_wrapper()[source]

An Open MPI style wrapper that accepts -showme reports its include and library paths.