27 std::string
const& reference_path,
28 std::string
const& output_directory);
38 std::string_view diff_tool_name)
const;
56 static bool runCommandLines(std::vector<CommandLine>
const& command_lines,
#define OGS_EXPORT_SYMBOL
OGS_EXPORT_SYMBOL bool runTests() const
Runs all configured test command lines.
std::vector< std::string > _output_files
static bool runCommandLines(std::vector< CommandLine > const &command_lines, bool fail_on_empty)
std::vector< CommandLine > _command_lines
TestDefinition(BaseLib::ConfigTree const &config_tree, std::string const &reference_path, std::string const &output_directory)
std::size_t numberOfTests() const
Returns the number of configured test command lines.
OGS_EXPORT_SYMBOL bool runTestsExcluding(std::string_view diff_tool_name) const
Runs all test command lines except those for the given diff tool.
std::vector< std::string > const & getOutputFiles() const
Returns all output files referenced by the configured test definitions.
OGS_EXPORT_SYMBOL bool hasTests(std::string_view diff_tool_name) const
Returns true if at least one test command line uses the given diff tool.
std::string diff_tool_name