taucmdr.model.tests.test_application module

Test functions.

Functions used for unit tests of application.py.

class taucmdr.model.tests.test_application.ApplicationTest(methodName='runTest')[source]

Bases: TestCase

Tests for taucmdr.model.application.Application.

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

An application stored with the obsolete max_threads attribute still works with every command.

class taucmdr.model.tests.test_application.EncourageTest(methodName='runTest')[source]

Bases: TestCase

Tests for compatibility warnings about measurements that don’t enable an application’s feature.

_classSetupFailed = False
_class_cleanups = []
_warnings(attr, app_updates, meas_updates, meas_name)[source]
test_baseline_measurement()[source]
test_measurement_disables_feature()[source]
test_measurement_enables_feature()[source]
test_measurement_without_attribute()[source]
class taucmdr.model.tests.test_application.LinkageDefaultTest(methodName='runTest')[source]

Bases: TestCase

Tests for taucmdr.model.application.linkage_default.

_classSetupFailed = False
_class_cleanups = []
static _default(host_os, link_type)[source]

The Cray Programming Environment links dynamically unless CRAYPE_LINK_TYPE says otherwise.