taucmdr.cf.software.tests.test_ompt_installation module

Test functions.

Functions used for unit tests of ompt_installation.py.

class taucmdr.cf.software.tests.test_ompt_installation.OmptInstallationTest(methodName='runTest')[source]

Bases: TestCase

Tests for the OMPT (LLVM OpenMP runtime) package description.

_classSetupFailed = False
_class_cleanups = []
test_cmake_uses_target_compilers()[source]

CMake is pointed at the unwrapped target compilers and told to build a PIC release without CUDA.

test_download_uses_llvm_openmp()[source]

‘download’ fetches LLVM OpenMP and verifies its shared runtime and OMPT headers.

test_make_generates_headers_first()[source]

The generated OMPT headers are built before the runtime itself.

taucmdr.cf.software.tests.test_ompt_installation._ompt(src)[source]