1
0
Fork 0

added test case for dfdb startup

This commit is contained in:
Jan Steemann 2013-01-30 13:12:53 +01:00
parent 837a357b67
commit 4f90c6d35a
1 changed files with 19 additions and 1 deletions

View File

@ -35,7 +35,8 @@ unittests-brief: \
unittests-ssl-server \
unittests-shell-client \
unittests-arangob \
unittests-import
unittests-import \
unittests-dfdb
unittests-verbose:
@echo "################################################################################"
@ -431,6 +432,23 @@ unittests-import:
@rm -rf "$(VOCDIR)"
@echo
################################################################################
### @brief DATAFILE DEBUGGER TESTS
###
### this test just checks whether the dfdb starts.
### we will send an EOT signal to the dfdb process to stop it right away.
################################################################################
.PHONY: unittests-dfdb
unittests-dfdb:
@mkdir -p "$(VOCDIR)"
@test -d "$(VOCDIR)"
echo -e "\x04" | ($(VALGRIND) @builddir@/bin/arango-dfdb --database "$(VOCDIR)" || test "x$(FORCE)" == "x1")
################################################################################
### @brief BITARRAY INDEXES TESTS
################################################################################