Commit df8d7e9f authored by Leif Walsh's avatar Leif Walsh Committed by Yoni Fogel

refs #5418 don't run such a large benchmark-test under valgrind


git-svn-id: file:///svn/toku/tokudb@49758 c7de825b-a66e-492c-adef-691d508d4ae1
parent 4a42b65d
......@@ -2,6 +2,7 @@ cmake_policy(SET CMP0012 NEW)
## these tests shouldn't run with valgrind
list(APPEND CTEST_CUSTOM_MEMCHECK_IGNORE
ft/benchmark-test_256
ft/bnc-insert-benchmark
ft/brt-serialize-benchmark
ft/ft_loader-test-extractor-1
......@@ -51,6 +52,11 @@ list(APPEND CTEST_CUSTOM_MEMCHECK_IGNORE
ydb/upgrade-test-4.tdb
)
## this is a smaller benchmark-test_256, just for valgrind, no need to run it without valgrind
list(APPEND CTEST_CUSTOM_TESTS_IGNORE
ft/benchmark-test_256_vg
)
if (NOT @RUN_HELGRIND_TESTS@)
list(APPEND CTEST_CUSTOM_TESTS_IGNORE
util/helgrind_test_circular_buffer
......
......@@ -49,10 +49,14 @@ if(BUILD_TESTING OR BUILD_FT_TESTS)
add_test(ft/test-assertC test-assert ok)
declare_custom_tests(benchmark-test)
add_test(ft/benchmark-test benchmark-test -q --fname dir.check_benchmark-test)
add_test(ft/benchmark-test_256 benchmark-test --valsize 256 --verify --fname dir.check_benchmark-test_256 1)
add_test(ft/benchmark-test benchmark-test -q --fname benchmark-test.ft)
add_test(ft/benchmark-test_256 benchmark-test --valsize 256 --verify --fname benchmark-test_256.ft 1)
add_test(ft/benchmark-test_256_vg benchmark-test --valsize 256 --verify --fname benchmark-test_256_vg.ft --periter 131072 1)
set_property(DIRECTORY APPEND PROPERTY ADDITIONAL_MAKE_CLEAN_FILES
dir.check_benchmark-test dir.check_benchmark-test_256)
benchmark-test.ft
benchmark-test_256.ft
benchmark-test_256_vg.ft
)
declare_custom_tests(ftloader-test-merge-files-dbufio)
add_test(ft/ftloader-test-merge-files-dbufio ftloader-test-merge-files-dbufio -r 8000 -s dir.check_ftloader-test-merge-files-dbufio)
......
......@@ -9,7 +9,7 @@
#include "includes.h"
#include <toku_time.h>
static const char *fname ="sinsert.ft_handle";
static const char *fname ="sinsert.ft";
enum { SERIAL_SPACING = 1<<6 };
int64_t ITEMS_TO_INSERT_PER_ITERATION = 1<<20;
......
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