Commit 21055fd9 authored by Leif Walsh's avatar Leif Walsh Committed by Yoni Fogel

refs #5902 cmake glue for test


git-svn-id: file:///svn/toku/tokudb@52172 c7de825b-a66e-492c-adef-691d508d4ae1
parent 2185eda8
...@@ -513,7 +513,12 @@ if(BUILD_TESTING OR BUILD_SRC_TESTS) ...@@ -513,7 +513,12 @@ if(BUILD_TESTING OR BUILD_SRC_TESTS)
endif () endif ()
endforeach(src) endforeach(src)
declare_custom_tests(dump-env.tdb)
configure_file(run_with_env.sh . COPYONLY) configure_file(run_with_env.sh . COPYONLY)
add_test(
NAME ydb/dump-env.tdb
COMMAND ${CMAKE_CFG_INTDIR}/run_with_env.sh $<TARGET_FILE:dump-env.tdb> ${TOKU_SVNROOT}/tokudb.data/test_5902 dir.dump-env.tdb
)
## for some reason this rule doesn't run with the makefile and it crashes with this rule, so I'm disabling this special case ## for some reason this rule doesn't run with the makefile and it crashes with this rule, so I'm disabling this special case
#declare_custom_tests(test_thread_stack.tdb) #declare_custom_tests(test_thread_stack.tdb)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment