summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2004-02-10 20:53:09 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2004-02-10 20:53:09 (GMT)
commiteaf25c6739a3d5c82d4e4e2059ed12a745560ec0 (patch)
tree3ed0bc2880697cff294264c64d527236f8cc6841 /Source
parentd278cde9e72348c90504268c6564ca969685212b (diff)
downloadCMake-eaf25c6739a3d5c82d4e4e2059ed12a745560ec0.zip
CMake-eaf25c6739a3d5c82d4e4e2059ed12a745560ec0.tar.gz
CMake-eaf25c6739a3d5c82d4e4e2059ed12a745560ec0.tar.bz2
ERR: Use filepath followed by filename not another filepath
Diffstat (limited to 'Source')
-rw-r--r--Source/cmCTest.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx
index 5e538bf..2b3eda5 100644
--- a/Source/cmCTest.cxx
+++ b/Source/cmCTest.cxx
@@ -4388,7 +4388,7 @@ int cmCTest::RunCMakeAndTest(std::string* outstring)
failed.push_back(tryPath);
std::string filepath = cmSystemTools::GetFilenamePath(m_TestCommand);
std::string filename = cmSystemTools::GetFilenameName(m_TestCommand);
- tryPath = filepath + "/" + m_ConfigType + "/" + filepath;
+ tryPath = filepath + "/" + m_ConfigType + "/" + filename;
if ( cmSystemTools::FileExists(tryPath.c_str()) &&
!cmSystemTools::FileIsDirectory(tryPath.c_str()) )
{