summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestTestHandler.h
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2023-07-20 20:57:02 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2023-08-10 20:47:51 (GMT)
commitc8c1dd0d9540acbe6172afe192c149fe04d0625b (patch)
treedfbd13051070176f318fcdb1fb0ae10f1e7912e1 /Source/CTest/cmCTestTestHandler.h
parent3f5a5a5856790107bba5cad6d9d45d1170b986f1 (diff)
downloadCMake-c8c1dd0d9540acbe6172afe192c149fe04d0625b.zip
CMake-c8c1dd0d9540acbe6172afe192c149fe04d0625b.tar.gz
CMake-c8c1dd0d9540acbe6172afe192c149fe04d0625b.tar.bz2
CTest: Add ability to dynamically generate resource spec file
Issue: #25106
Diffstat (limited to 'Source/CTest/cmCTestTestHandler.h')
-rw-r--r--Source/CTest/cmCTestTestHandler.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/CTest/cmCTestTestHandler.h b/Source/CTest/cmCTestTestHandler.h
index 3e80c94..23f0a76 100644
--- a/Source/CTest/cmCTestTestHandler.h
+++ b/Source/CTest/cmCTestTestHandler.h
@@ -21,7 +21,6 @@
#include "cmCTest.h"
#include "cmCTestGenericHandler.h"
-#include "cmCTestResourceSpec.h"
#include "cmCTestTypes.h" // IWYU pragma: keep
#include "cmDuration.h"
#include "cmListFileCache.h"
@@ -172,6 +171,7 @@ public:
std::set<std::string> FixturesRequired;
std::set<std::string> RequireSuccessDepends;
std::vector<std::vector<cmCTestTestResourceRequirement>> ResourceGroups;
+ std::string GeneratedResourceSpecFile;
// Private test generator properties used to track backtraces
cmListFileBacktrace Backtrace;
};
@@ -319,7 +319,7 @@ private:
// compute the lists of tests that will actually run
// based on LastTestFailed.log
- void ComputeTestListForRerunFailed();
+ bool ComputeTestListForRerunFailed();
// add required setup/cleanup tests not already in the
// list of tests to be run and update dependencies between
@@ -360,8 +360,6 @@ private:
cmsys::RegularExpression IncludeTestsRegularExpression;
cmsys::RegularExpression ExcludeTestsRegularExpression;
- bool UseResourceSpec;
- cmCTestResourceSpec ResourceSpec;
std::string ResourceSpecFile;
void RecordCustomTestMeasurements(cmXMLWriter& xml, std::string content);