Skip to content
Snippets Groups Projects
Commit d3a68a23 authored by Ken Martin's avatar Ken Martin
Browse files

bug fix

parent 1b2f84a7
No related branches found
No related tags found
No related merge requests found
......@@ -2994,7 +2994,7 @@ int cmCTest::RunConfigurationScript()
// did something critical fail in ctest
if (!res ||
retVal | CTEST_BUILD_ERRORS)
retVal & CTEST_BUILD_ERRORS)
{
// if we backed up the dirs and the build failed, then restore
// the backed up dirs
......@@ -3014,7 +3014,11 @@ int cmCTest::RunConfigurationScript()
rename(backupBinDir.c_str(), binDir);
}
cmSystemTools::Error("Unable to run ctest");
return -8;
if (!res)
{
return -8;
}
return retVal;
}
return 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment