tfel
Loading...
Searching...
No Matches
tfel::check::Configuration Struct Reference

a data structure used to define a test environment. More...

#include </home/runner/work/tfel/tfel/tfel-check/include/TFEL/Check/Configuration.hxx>

Public Member Functions

 Configuration ()
 default constructor
 Configuration (Configuration &&) noexcept
 move constructor
 Configuration (const Configuration &)
 copy constructor
Configuration & operator= (Configuration &&) noexcept
 move assignement
Configuration & operator= (const Configuration &)
 standard assignement

Public Attributes

bool discard_clean_up_on_failure = true
 boolean stating if the generated files and directories listed by the @CleanFiles and @CleanDirectories keywords shall not be removed in case of the failure
bool clean_up = true
 boolean stating if the generated files and directories listed by the @CleanFiles and @CleanDirectories keywords must be removed. This option is only considered in case of success.
bool discard_commands_failure = true
 discard command's failure if comparisons are ok.
std::vector< std::string > available_components
 list of components
std::map< std::string, std::string > substitutions
 substitutions applied to .check files.
std::map< std::string, std::string > environments
 list of environment variables
std::string directory
 directory in which the test is executed
PCLogger log
 global logger

Detailed Description

a data structure used to define a test environment.

Member Data Documentation

◆ discard_commands_failure

bool tfel::check::Configuration::discard_commands_failure = true

discard command's failure if comparisons are ok.

Note
If no comparisons is declared, command's failure is never ignored.

◆ substitutions

std::map<std::string, std::string> tfel::check::Configuration::substitutions

substitutions applied to .check files.

For every {key,value} pair, every occurence of @key@ is replaced by value.


The documentation for this struct was generated from the following file: