summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestTestHandler.h
diff options
context:
space:
mode:
authorZach Mullen <zach.mullen@kitware.com>2009-12-10 19:38:32 (GMT)
committerZach Mullen <zach.mullen@kitware.com>2009-12-10 19:38:32 (GMT)
commit48b613392848610d243962086fb289a93cc41f0d (patch)
tree19804350ca0fe4748a6b3c8fc64fc1bd98563dac /Source/CTest/cmCTestTestHandler.h
parent55275e017dfdd2826e2791ac16d29ea0cdfc55ac (diff)
downloadCMake-48b613392848610d243962086fb289a93cc41f0d.zip
CMake-48b613392848610d243962086fb289a93cc41f0d.tar.gz
CMake-48b613392848610d243962086fb289a93cc41f0d.tar.bz2
[0008668: CTest Dev: Missing executables shown as failed tests when using MPI.] Added a wrapping option to add_test so that exes built by the project can be safely wrapped in other exes and be listed as "not run" rather than "failed" if they are not built.
Diffstat (limited to 'Source/CTest/cmCTestTestHandler.h')
-rw-r--r--Source/CTest/cmCTestTestHandler.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestTestHandler.h b/Source/CTest/cmCTestTestHandler.h
index ceb5020..eedd811 100644
--- a/Source/CTest/cmCTestTestHandler.h
+++ b/Source/CTest/cmCTestTestHandler.h
@@ -66,7 +66,8 @@ public:
/*
* Add the test to the list of tests to be executed
*/
- bool AddTest(const std::vector<std::string>& args);
+ bool AddTest(const std::vector<std::string>& args,
+ const std::vector<std::string>& prefix);
/*
* Set tests properties
@@ -84,6 +85,7 @@ public:
cmStdString Name;
cmStdString Directory;
std::vector<std::string> Args;
+ std::vector<std::string> PrefixArgs;
std::vector<std::string> Depends;
std::vector<std::pair<cmsys::RegularExpression,
std::string> > ErrorRegularExpressions;