summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestRunTest.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/cmCTestRunTest.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/cmCTestRunTest.h')
-rw-r--r--Source/CTest/cmCTestRunTest.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestRunTest.h b/Source/CTest/cmCTestRunTest.h
index bfeda20..fa0e8af 100644
--- a/Source/CTest/cmCTestRunTest.h
+++ b/Source/CTest/cmCTestRunTest.h
@@ -53,6 +53,7 @@ public:
void ComputeArguments();
private:
void DartProcessing();
+ void ExeNotFound(std::string exe);
bool CreateProcess(double testTimeOut,
std::vector<std::string>* environment);
void WriteLogOutputTop(size_t completed, size_t total);
@@ -71,6 +72,10 @@ private:
//flag for whether the env was modified for this run
bool ModifyEnv;
+
+ bool UsePrefixCommand;
+ std::string PrefixCommand;
+
//stores the original environment if we are modifying it
std::vector<std::string> OrigEnv;
std::string ProcessOutput;
@@ -96,5 +101,6 @@ inline int getNumWidth(size_t n)
}
return numWidth;
}
+
#endif