From d1a6ea852620af405225d29b0e4f1e073e0f54d9 Mon Sep 17 00:00:00 2001 From: Yoni Fogel Date: Tue, 11 Mar 2008 15:15:26 +0000 Subject: [PATCH] addresses #479 port remaining range_tree tests (45,47) to NOOVERLAPS git-svn-id: file:///svn/tokudb@2724 c7de825b-a66e-492c-adef-691d508d4ae1 --- src/range_tree/tests/test_00045_find_overlaps.c | 2 ++ src/range_tree/tests/test_00047_find_memory.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/range_tree/tests/test_00045_find_overlaps.c b/src/range_tree/tests/test_00045_find_overlaps.c index 9e5b0e7d589..8f6a92ab253 100644 --- a/src/range_tree/tests/test_00045_find_overlaps.c +++ b/src/range_tree/tests/test_00045_find_overlaps.c @@ -159,7 +159,9 @@ int main(int argc, const char *argv[]) { buflen = 2; buf = (toku_range*)toku_malloc(2 * sizeof(toku_range)); tests(FALSE); +#ifndef TOKU_RT_NOOVERLAPS tests(TRUE); +#endif tree = NULL; toku_free(buf); diff --git a/src/range_tree/tests/test_00047_find_memory.c b/src/range_tree/tests/test_00047_find_memory.c index 9846d8054ca..484aabd63b7 100644 --- a/src/range_tree/tests/test_00047_find_memory.c +++ b/src/range_tree/tests/test_00047_find_memory.c @@ -109,7 +109,9 @@ int main(int argc, const char *argv[]) { buflen = 2; buf = (toku_range*)toku_malloc(2 * sizeof(toku_range)); tests(FALSE); +#ifndef TOKU_RT_NOOVERLAPS tests(TRUE); +#endif tree = NULL; toku_free(buf);