|
|
@@ -349,9 +349,7 @@ cmCTest::cmCTest()
|
|
|
{
|
|
|
it->second->SetCTestInstance(this);
|
|
|
}
|
|
|
- // call this so that the information is cached up front
|
|
|
- // and not the first time EndTest is called.
|
|
|
- this->ShouldCompressTestOutput();
|
|
|
+
|
|
|
// Make sure we can capture the build tool output.
|
|
|
cmSystemTools::EnableVSConsoleOutput();
|
|
|
}
|
|
|
@@ -400,7 +398,7 @@ std::string cmCTest::GetCDashVersion()
|
|
|
std::string url = "http://";
|
|
|
url += this->GetCTestConfiguration("DropSite") + "/CDash/api/getversion.php";
|
|
|
|
|
|
- int res = cmCTest::HTTPRequest(url, cmCTest::HTTP_GET, response);
|
|
|
+ int res = cmCTest::HTTPRequest(url, cmCTest::HTTP_GET, response, "", "", 3);
|
|
|
|
|
|
return res ? this->GetCTestConfiguration("CDashVersion") : response;
|
|
|
#else
|
|
|
@@ -473,6 +471,10 @@ int cmCTest::Initialize(const char* binary_dir, cmCTestStartCommand* command)
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
+ // call this so that the information is cached up front
|
|
|
+ // and not the first time EndTest is called.
|
|
|
+ this->ShouldCompressTestOutput();
|
|
|
+
|
|
|
if ( this->ProduceXML )
|
|
|
{
|
|
|
// Verify "Testing" directory exists:
|