diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2005-12-19 16:29:57 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2005-12-19 16:29:57 (GMT) |
commit | 5261f51e45b431fdb8d5a382c3d0ee9c4e42ebba (patch) | |
tree | 7e53aaee33295591a81dd6f14c30afc940dc8f27 /Source/CTest | |
parent | 64f7c3c41caf186e01996ebd59a88580b07e4ce3 (diff) | |
download | CMake-5261f51e45b431fdb8d5a382c3d0ee9c4e42ebba.zip CMake-5261f51e45b431fdb8d5a382c3d0ee9c4e42ebba.tar.gz CMake-5261f51e45b431fdb8d5a382c3d0ee9c4e42ebba.tar.bz2 |
BUG: fix for bug 2560, Xcode does not create correct bundles
Diffstat (limited to 'Source/CTest')
-rw-r--r-- | Source/CTest/cmCTestBuildAndTestHandler.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestBuildAndTestHandler.cxx b/Source/CTest/cmCTestBuildAndTestHandler.cxx index 10420af..cf1dfeb 100644 --- a/Source/CTest/cmCTestBuildAndTestHandler.cxx +++ b/Source/CTest/cmCTestBuildAndTestHandler.cxx @@ -229,6 +229,14 @@ int cmCTestBuildAndTestHandler::RunCMakeAndTest(std::string* outstring) tempPath += "/"; tempPath += filename; attempted.push_back(tempPath); + // If the file is an OSX bundle then the configtyp + // will be at the start of the path + tempPath = m_CTest->GetConfigType(); + tempPath += "/"; + tempPath += filepath; + tempPath += "/"; + tempPath += filename; + attempted.push_back(tempPath); } } // otherwise search local dirs |