blob: 9e89b7288fbe60f683cae390c91ea81d1aff9c8d [file]
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
file LICENSE.rst or https://cmake.org/licensing for details. */
#pragma once
#include <string>
class cmExecutionStatus;
class cmValue;
enum class cmGetTestPropertyResult
{
Success,
ScopeError, // test directory scope validation failed
TestNotFound, // test does not exist
};
cmGetTestPropertyResult cmGetTestProperty(std::string const& testName,
std::string const& propertyName,
cmExecutionStatus& status,
bool testDirectoryOptionEnabled,
std::string& testDirectory,
cmValue& propertyValue);