Commit cdcb5a28 authored by Bradley C. Kuszmaul's avatar Bradley C. Kuszmaul Committed by Yoni Fogel

Refs #1531. The fix is don't compile {{{test_txn_abort6}}} under BDB,...

Refs #1531.    The fix is don't compile {{{test_txn_abort6}}} under BDB, rather than hacking around with the #ifdefs inside the code.  I noticed this because the main line wouldn't compile tonight.

git-svn-id: file:///svn/toku/tokudb@10513 c7de825b-a66e-492c-adef-691d508d4ae1
parent a9a44458
...@@ -74,6 +74,7 @@ BDB_DONTRUN_TESTS = \ ...@@ -74,6 +74,7 @@ BDB_DONTRUN_TESTS = \
test1426 \ test1426 \
test1572 \ test1572 \
test_logflush \ test_logflush \
test_txn_abort6 \
test_txn_abort8 \ test_txn_abort8 \
test_txn_abort9 \ test_txn_abort9 \
test_txn_close_open_commit \ test_txn_close_open_commit \
...@@ -379,4 +380,3 @@ dumpit: ...@@ -379,4 +380,3 @@ dumpit:
test_thread_stack.%run: test_thread_stack.%$(BINSUF) test_thread_stack.%run: test_thread_stack.%$(BINSUF)
./$< -a -thread_stack 16384 && \ ./$< -a -thread_stack 16384 && \
./$< -a -thread_stack 16384 -resume $(SUMMARIZE_CMD) ./$< -a -thread_stack 16384 -resume $(SUMMARIZE_CMD)
...@@ -109,7 +109,6 @@ test_txn_abort (int n, int which_guys_to_abort) { ...@@ -109,7 +109,6 @@ test_txn_abort (int n, int which_guys_to_abort) {
int int
test_main(int argc, const char *argv[]) { test_main(int argc, const char *argv[]) {
#if IS_TDB // This test is inappropriate for BDB. It requires finer grained locking that BDB supports.
int i,j; int i,j;
for (i = 1; i < argc; i++) { for (i = 1; i < argc; i++) {
const char *arg = argv[i]; const char *arg = argv[i];
...@@ -124,6 +123,5 @@ test_main(int argc, const char *argv[]) { ...@@ -124,6 +123,5 @@ test_main(int argc, const char *argv[]) {
for (i=1; i<100; i*=2) for (i=1; i<100; i*=2)
test_txn_abort(i, j); test_txn_abort(i, j);
if (verbose>0) printf("OK\n"); if (verbose>0) printf("OK\n");
#endif
return 0; return 0;
} }
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