summaryrefslogtreecommitdiffstats
path: root/Source/cmCTest.h
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2023-07-25 21:14:20 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2023-08-29 14:51:30 (GMT)
commitb15ad7ebb6b96630396fb54b4679075a52c5f79b (patch)
treea6f651c40f2cd9ea3695ba96b39dc588558a3484 /Source/cmCTest.h
parent50a6e78a8295ac89149639839cebc3b61f2f9db3 (diff)
downloadCMake-b15ad7ebb6b96630396fb54b4679075a52c5f79b.zip
CMake-b15ad7ebb6b96630396fb54b4679075a52c5f79b.tar.gz
CMake-b15ad7ebb6b96630396fb54b4679075a52c5f79b.tar.bz2
cmCTest: Replace cmsysProcess with cmUVProcessChain
Diffstat (limited to 'Source/cmCTest.h')
-rw-r--r--Source/cmCTest.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/Source/cmCTest.h b/Source/cmCTest.h
index 9a8d5a6..1644d84 100644
--- a/Source/cmCTest.h
+++ b/Source/cmCTest.h
@@ -254,10 +254,10 @@ public:
* Run command specialized for make and configure. Returns process status
* and retVal is return value or exception.
*/
- int RunMakeCommand(const std::string& command, std::string& output,
- int* retVal, const char* dir, cmDuration timeout,
- std::ostream& ofs,
- Encoding encoding = cmProcessOutput::Auto);
+ bool RunMakeCommand(const std::string& command, std::string& output,
+ int* retVal, const char* dir, cmDuration timeout,
+ std::ostream& ofs,
+ Encoding encoding = cmProcessOutput::Auto);
/** Return the current tag */
std::string GetCurrentTag();
@@ -303,10 +303,10 @@ public:
* environment variables prior to running the test. After running the test,
* environment variables are restored to their previous values.
*/
- int RunTest(std::vector<const char*> args, std::string* output, int* retVal,
- std::ostream* logfile, cmDuration testTimeOut,
- std::vector<std::string>* environment,
- Encoding encoding = cmProcessOutput::Auto);
+ bool RunTest(const std::vector<std::string>& args, std::string* output,
+ int* retVal, std::ostream* logfile, cmDuration testTimeOut,
+ std::vector<std::string>* environment,
+ Encoding encoding = cmProcessOutput::Auto);
/**
* Get the handler object