Commit 4c964dd8 authored by Bradley C. Kuszmaul's avatar Bradley C. Kuszmaul

Now the makefile has a way to be happy when a test fails. The groupcommit...

Now the makefile has a way to be happy when a test fails.  The groupcommit test passes (even though it fails).  The two recovery tests fail, but those are real failures, so I'll consider that this Fixes #706.

git-svn-id: file:///svn/tokudb@3481 c7de825b-a66e-492c-adef-691d508d4ae1
parent 6fc79b2e
......@@ -55,6 +55,8 @@ TDB_TESTS = $(patsubst %.c,%.tdb,$(SRCS))
BDB_DONTRUN = bug627 test_abort1
BDB_TESTS = $(patsubst %.c,%.bdb,$(filter-out $(patsubst %,%.c,$(BDB_DONTRUN)),$(SRCS)))
TDB_TESTS_THAT_SHOULD_FAIL = test_groupcommit_count
ALL_TESTS = $(TDB_TESTS) $(BDB_TESTS)
RUN_TDB_TESTS = $(patsubst %.tdb,%.tdbrun,$(TDB_TESTS))
......@@ -118,8 +120,10 @@ endif
%.bdbrun: %.bdb ../libtokudb.$(LIBEXT)
$(MAYBEATSIGN) $(UNSETTOKUENV) ./$< $(VERBVERBOSE)
%.tdbrun: %.tdb ../libtokudb.$(LIBEXT)
$(MAYBEATSIGN) $(SETTOKUENV) $(VGRIND) ./$< $(VERBVERBOSE)
$(MAYBEATSIGN) $(SETTOKUENV) $(VGRIND) ./$< $(VERBVERBOSE) $(MAYBEINVERTERR)
@ touch $@
# Any test that should fail, we invert the result by using MAYBEINVERTERR
$(patsubst %,%.tdbrun,$(TDB_TESTS_THAT_SHOULD_FAIL)): MAYBEINVERTERR=;test $$? -ne 0
# Don't include log2 log3 log4 log5 etc since they are covered by all.recover
......
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