summaryrefslogtreecommitdiffstats
path: root/Source/cmCTest.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-01-09 13:54:41 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2004-01-09 13:54:41 (GMT)
commita00a1dab0ddc13f4108382df4136f2f8b9607b87 (patch)
tree56d45370d3ca9bd4c38182befe5410f8689dec41 /Source/cmCTest.cxx
parent6b1abee8136ac3afcf9422e67e80afc8073acd32 (diff)
downloadCMake-a00a1dab0ddc13f4108382df4136f2f8b9607b87.zip
CMake-a00a1dab0ddc13f4108382df4136f2f8b9607b87.tar.gz
CMake-a00a1dab0ddc13f4108382df4136f2f8b9607b87.tar.bz2
BUG: if the build fails then the test fails
Diffstat (limited to 'Source/cmCTest.cxx')
-rw-r--r--Source/cmCTest.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx
index e82ef4b..f0205e5 100644
--- a/Source/cmCTest.cxx
+++ b/Source/cmCTest.cxx
@@ -4041,7 +4041,7 @@ int cmCTest::RunCMakeAndTest(std::string* outstring)
}
// return to the original directory
cmSystemTools::ChangeDirectory(cwd.c_str());
- retVal = 1;
+ return 1;
}
if(outstring)