CreatePyenvTest
- class reframe_tests.tests.base_tests.CreatePyenvTest(*args, **kwargs)
Create a fresh virtual environment for running the tests.
The test checks for any errors from pip installing gprMax and its dependencies.
- __init__()
Methods
__init__()check_performance()The performance checking phase of the regression test pipeline.
check_requirements_installed()Check packages were successfully installed.
check_sanity()The sanity checking phase of the regression test pipeline.
cleanup([remove_files])The cleanup phase of the regression test pipeline.
compile()The compilation phase of the regression test pipeline.
compile_complete()Check if the build phase has completed.
compile_wait()Wait for compilation phase to finish.
depends_on(target[, how])Add a dependency to another test.
disable_hook(hook_name)Disable pipeline hook by name.
getdep(target[, environ, part])Retrieve the test case of a target dependency.
info()Provide live information for this test.
install_system_specific_dependencies()Install additional dependencies for specific systems.
is_dry_run()Check if the test runs in dry-run mode.
is_fixture()Check if the test is a fixture.
is_local()Check if the test will execute locally.
is_performance_check()Return
Trueif the test is a performance test.performance()pipeline_hooks()run()The run phase of the regression test pipeline.
run_complete()Check if the run phase has completed.
run_wait()Wait for the run phase of this test to finish.
sanity()set_var_default(name, value)Set the default value of a variable if variable is undefined.
setup(partition, environ, **job_opts)The setup stage of the regression test pipeline.
skip([msg])Skip test.
skip_if(cond[, msg])Skip test if condition is true.
skip_if_no_procinfo([msg])Skip test if no processor topology information is available.
user_deps()Attributes
build_jobbuild_stderrbuild_stdoutcurrent_environThe programming environment that the regression test is currently executing with.
current_partitionThe system partition the regression test is currently executing on.
current_systemThe system the regression test is currently executing on.
disabled_hooksdisplay_nameA human-readable version of the name this test.
fixture_variantThe point in the fixture space for the test.
hashcodejobThe job descriptor associated with this test.
loggerA logger associated with this test.
nameThe name of the test.
outputdirThe output directory of the test.
param_variantThe point in the parameter space for the test.
perfvaluesThe obtained performance values for this test.
prefixThe prefix directory of the test.
short_nameA short version of the test's display name.
stagedirThe stage directory of the test.
stderrThe name of the file containing the standard error of the test.
stdoutThe name of the file containing the standard output of the test.
unique_nameThe unique name of this test.
variant_numThe variant number of the test.
valid_prog_environsList of programming environments supported by this test.
valid_systemsList of systems or system features or system properties required by this test.
descrA detailed description of the test.
sourcepathThe path to the source file or source directory of the test.
sourcesdirThe directory containing the test's resources.
build_systemNew in version 2.14.
prebuild_cmdsNew in version 3.0.
postbuild_cmdsNew in version 3.0.
executableThe name of the executable to be launched during the run phase.
executable_optsList of options to be passed to the
executable.container_platformNew in version 2.20.
prerun_cmdsNew in version 3.0.
postrun_cmdsNew in version 3.0.
keep_filesList of files to be kept after the test finishes.
readonly_filesList of files or directories (relative to the
sourcesdir) that will be symlinked in the stage directory and not copied.tagsSet of tags associated with this test.
maintainersList of people responsible for this test.
strict_checkMark this test as a strict performance test.
num_tasksNumber of tasks required by this test.
num_tasks_per_nodeNumber of tasks per node required by this test.
num_gpus_per_nodeNumber of GPUs per node required by this test.
num_cpus_per_taskNumber of CPUs per task required by this test.
num_tasks_per_coreNumber of tasks per core required by this test.
num_tasks_per_socketNumber of tasks per socket required by this test.
use_multithreadingSpecify whether this tests needs simultaneous multithreading enabled.
max_pending_timeNew in version 3.0.
exclusive_accessSpecify whether this test needs exclusive access to nodes.
localAlways execute this test locally.
referenceThe performance reference values for this test.
require_referenceRequire that a reference is defined for each system that this test is run on.
sanity_patternsPatterns for checking the sanity of this test.
perf_patternsPatterns for verifying the performance of this test.
perf_variablesThe performance variables associated with the test.
modulesList of modules to be loaded before running this test.
env_varsEnvironment variables to be set before running this test.
variablesEnvironment variables to be set before running this test.
time_limitTime limit for this test.
build_time_limitNew in version 3.5.1.
extra_resourcesNew in version 2.8.
build_locallyNew in version 3.3.
ci_extrasNew in version 4.2.