summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestMultiProcessHandler.h
diff options
context:
space:
mode:
authorZack Galbreath <zack.galbreath@kitware.com>2015-06-01 13:42:44 (GMT)
committerBrad King <brad.king@kitware.com>2015-06-30 14:21:37 (GMT)
commit07c550caa20d4b1d6ebc08269d744ff6a45c0a6d (patch)
tree8b5822e3e4598f16716191e7ab9e1453ec379942 /Source/CTest/cmCTestMultiProcessHandler.h
parent8bf5a80b9668a31b85aaac00d1682228bbbbac5e (diff)
downloadCMake-07c550caa20d4b1d6ebc08269d744ff6a45c0a6d.zip
CMake-07c550caa20d4b1d6ebc08269d744ff6a45c0a6d.tar.gz
CMake-07c550caa20d4b1d6ebc08269d744ff6a45c0a6d.tar.bz2
cmCTestMultiProcessHandler: Refactor RUN_SERIAL implementation
The original implementation of the RUN_SERIAL test property worked by having such a test consume all available processors. Instead use an explicit flag to indicate that a serial test is running. This avoids artificially inflating the number of processors a test is expected to consume.
Diffstat (limited to 'Source/CTest/cmCTestMultiProcessHandler.h')
-rw-r--r--Source/CTest/cmCTestMultiProcessHandler.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestMultiProcessHandler.h b/Source/CTest/cmCTestMultiProcessHandler.h
index 6440fbc..243318f 100644
--- a/Source/CTest/cmCTestMultiProcessHandler.h
+++ b/Source/CTest/cmCTestMultiProcessHandler.h
@@ -121,6 +121,7 @@ protected:
cmCTest* CTest;
bool HasCycles;
bool Quiet;
+ bool SerialTestRunning;
};
#endif