diff options
author | Sergei Golubchik <sergii@pisem.net> | 2011-07-16 09:09:01 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2011-07-16 09:09:01 +0200 |
commit | 2853f6bfbb2f392fa5623b480a2ce112991d2486 (patch) | |
tree | 4b089d92c563d49f563e6cadf4475a65974899a2 /dbug/CMakeLists.txt | |
parent | 66a8da067793b717df0d4682357df15cba3c935f (diff) | |
download | mariadb-git-2853f6bfbb2f392fa5623b480a2ce112991d2486.tar.gz |
unit test fixes for ctest
Diffstat (limited to 'dbug/CMakeLists.txt')
-rw-r--r-- | dbug/CMakeLists.txt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/dbug/CMakeLists.txt b/dbug/CMakeLists.txt index 09b3ed928ab..a408376a37d 100644 --- a/dbug/CMakeLists.txt +++ b/dbug/CMakeLists.txt @@ -45,9 +45,10 @@ IF(NOT WIN32) COMMAND sed -e 's!\\\\!\\\\\\\\!g' <${CMAKE_CURRENT_SOURCE_DIR}/${srcfile} >${file}) ENDFOREACH(file) - ADD_CUSTOM_COMMAND(OUTPUT tests-t DEPENDS tests-t.pl - COMMAND cp -f ${CMAKE_CURRENT_SOURCE_DIR}/tests-t.pl tests-t) - ADD_CUSTOM_TARGET(unit ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/tests-t) + ADD_CUSTOM_COMMAND(OUTPUT dbug-t DEPENDS tests-t.pl + COMMAND cp -f ${CMAKE_CURRENT_SOURCE_DIR}/tests-t.pl dbug-t) + ADD_CUSTOM_TARGET(dbug-t ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/dbug-t) + MY_ADD_TEST(dbug) IF(GROFF) ADD_CUSTOM_COMMAND(OUTPUT user.ps |