fix the test order. addresses #159

git-svn-id: file:///svn/tokudb@1124 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
Rich Prohaska 2007-12-13 22:25:24 +00:00
parent b8a3e92d35
commit 8667527f2d

View file

@ -2500,11 +2500,6 @@ static void test_dup() {
static void pma_tests (void) { static void pma_tests (void) {
toku_memory_check=1; toku_memory_check=1;
test_pma_cursor_delete_under(); local_memory_check_all_free();
test_pma_cursor_delete_under_mode(3, TOKU_DB_DUP); local_memory_check_all_free();
test_pma_cursor_delete_under_mode(3, TOKU_DB_DUP+TOKU_DB_DUPSORT); local_memory_check_all_free();
return;
toku_test_keycompare(); local_memory_check_all_free(); toku_test_keycompare(); local_memory_check_all_free();
test_pma_compare_fun(0); local_memory_check_all_free(); test_pma_compare_fun(0); local_memory_check_all_free();
test_pma_compare_fun(1); local_memory_check_all_free(); test_pma_compare_fun(1); local_memory_check_all_free();
@ -2529,6 +2524,7 @@ static void pma_tests (void) {
test_pma_cursor_set_range(); local_memory_check_all_free(); test_pma_cursor_set_range(); local_memory_check_all_free();
test_pma_cursor_delete_under(); local_memory_check_all_free(); test_pma_cursor_delete_under(); local_memory_check_all_free();
test_pma_cursor_delete_under_mode(3, TOKU_DB_DUP); local_memory_check_all_free(); test_pma_cursor_delete_under_mode(3, TOKU_DB_DUP); local_memory_check_all_free();
test_pma_cursor_delete_under_mode(3, TOKU_DB_DUP+TOKU_DB_DUPSORT); local_memory_check_all_free();
test_pma_cursor_set_both(); local_memory_check_all_free(); test_pma_cursor_set_both(); local_memory_check_all_free();
test_dup(); test_dup();
} }