summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestTestHandler.cxx
diff options
context:
space:
mode:
authorZach Mullen <zach.mullen@kitware.com>2010-02-25 21:23:49 (GMT)
committerBrad King <brad.king@kitware.com>2010-02-26 16:02:05 (GMT)
commitb4d27dc041c9164d6f3ad39e192f4b7d116ca3b3 (patch)
tree68d044c519a253948acbb09809078163dd4df63d /Source/CTest/cmCTestTestHandler.cxx
parent55f012989c1aadd9dac1036c2e27df1853243392 (diff)
downloadCMake-b4d27dc041c9164d6f3ad39e192f4b7d116ca3b3.zip
CMake-b4d27dc041c9164d6f3ad39e192f4b7d116ca3b3.tar.gz
CMake-b4d27dc041c9164d6f3ad39e192f4b7d116ca3b3.tar.bz2
Use historical average of test times to schedule tests.
Diffstat (limited to 'Source/CTest/cmCTestTestHandler.cxx')
-rw-r--r--Source/CTest/cmCTestTestHandler.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestTestHandler.cxx b/Source/CTest/cmCTestTestHandler.cxx
index 8af2815..e36074f 100644
--- a/Source/CTest/cmCTestTestHandler.cxx
+++ b/Source/CTest/cmCTestTestHandler.cxx
@@ -2274,6 +2274,7 @@ bool cmCTestTestHandler::AddTest(const std::vector<std::string>& args)
test.Timeout = 0;
test.Cost = 0;
test.Processors = 1;
+ test.PreviousRuns = 0;
if (this->UseIncludeRegExpFlag &&
!this->IncludeTestsRegularExpression.find(testname.c_str()))
{