From 9c9aa70008674cc99fee925660c2c951248bdcff Mon Sep 17 00:00:00 2001 From: Leif Walsh Date: Wed, 17 Apr 2013 00:01:03 -0400 Subject: [PATCH] refs #4871 generate a different build name for coverage tests so they don't clobber the debug runs git-svn-id: file:///svn/toku/tokudb@47021 c7de825b-a66e-492c-adef-691d508d4ae1 --- cmake_modules/TokuSetupCTest.cmake | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/cmake_modules/TokuSetupCTest.cmake b/cmake_modules/TokuSetupCTest.cmake index 8a63155e714..dabb49b59a0 100644 --- a/cmake_modules/TokuSetupCTest.cmake +++ b/cmake_modules/TokuSetupCTest.cmake @@ -110,8 +110,13 @@ whoami(user) ## construct SITE, seems to have to happen before include(CTest) set(SITE "${user}@${host}") +if (USE_GCOV) + set(buildname_build_type "Coverage") +else (USE_GCOV) + set(buildname_build_type "${CMAKE_BUILD_TYPE}") +endif (USE_GCOV) ## construct BUILDNAME, seems to have to happen before include(CTest) -set(BUILDNAME "${branchname} ${CMAKE_BUILD_TYPE} ${CMAKE_SYSTEM} ${machine_type} ${CMAKE_CXX_COMPILER_ID} ${real_cxx_compiler} ${CMAKE_CXX_COMPILER_VERSION}" CACHE STRING "CTest build name" FORCE) +set(BUILDNAME "${branchname} ${buildname_build_type} ${CMAKE_SYSTEM} ${machine_type} ${CMAKE_CXX_COMPILER_ID} ${real_cxx_compiler} ${CMAKE_CXX_COMPILER_VERSION}" CACHE STRING "CTest build name" FORCE) include(CTest)