Commit ddee7456 authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

#4045 add some drd tests refs[t:4045]

git-svn-id: file:///svn/toku/tokudb@35825 c7de825b-a66e-492c-adef-691d508d4ae1
parent ac6aa66e
...@@ -965,7 +965,7 @@ check_blocking_tdb: $(BLOCKING_TDB_TESTS) ...@@ -965,7 +965,7 @@ check_blocking_tdb: $(BLOCKING_TDB_TESTS)
check_blocking_bdb: $(BLOCKING_BDB_TESTS) check_blocking_bdb: $(BLOCKING_BDB_TESTS)
check_drd: drd_tiny_test_stress1.tdbrun drd_test_stress1.tdbrun check_drd: drd_tiny_test_stress1.tdbrun drd_test_stress1.tdbrun drd_test_stress1.1000.tdbrun
true true
drd_tiny_test_stress1.tdbrun: test_stress1.tdb drd_tiny_test_stress1.tdbrun: test_stress1.tdb
...@@ -973,4 +973,9 @@ drd_tiny_test_stress1.tdbrun: test_stress1.tdb ...@@ -973,4 +973,9 @@ drd_tiny_test_stress1.tdbrun: test_stress1.tdb
drd_test_stress1.tdbrun: test_stress1.tdb drd_test_stress1.tdbrun: test_stress1.tdb
./test_stress1.tdb --only_create --envdir dir.$@ && \ ./test_stress1.tdb --only_create --envdir dir.$@ && \
$(VALGRIND) --tool=drd --quiet --suppressions=drd.suppressions ./test_stress1.tdb --only_stress --num_seconds 10 --envdir dir.$@ $(VALGRIND) --tool=drd --quiet --suppressions=drd.suppressions ./test_stress1.tdb --verbose --only_stress --num_seconds 10 --envdir dir.$@
drd_test_stress1.1000.tdbrun: test_stress1.tdb
./test_stress1.tdb --only_create --envdir dir.$@ && \
$(VALGRIND) --tool=drd --quiet --suppressions=drd.suppressions ./test_stress1.tdb --verbose --only_stress --num_seconds 1000 --envdir dir.$@
...@@ -733,7 +733,7 @@ static inline void parse_stress_test_args (int argc, char *const argv[], struct ...@@ -733,7 +733,7 @@ static inline void parse_stress_test_args (int argc, char *const argv[], struct
const char *argv0=argv[0]; const char *argv0=argv[0];
while (argc>1) { while (argc>1) {
int resultcode=0; int resultcode=0;
if (strcmp(argv[1], "-v")==0) { if (strcmp(argv[1], "-v") == 0 || strcmp(argv[1], "--verbose") == 0) {
verbose++; verbose++;
} }
else if (strcmp(argv[1], "-q")==0) { else if (strcmp(argv[1], "-q")==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