Commit 756df08b authored by Mathieu Giraud's avatar Mathieu Giraud

tests/Makefile: make snapshot, stores all *.log files

parent 43b105e9
......@@ -22,6 +22,8 @@ test:
make test_tools
@echo "*** All tests passed. Congratulations !"
make -C algo/tests snapshot
test_browser: unit_browser functional_browser
......@@ -14,6 +14,9 @@ SHOULD_LOCUS=$(wildcard should-vdj-tests/*.should-locus.fa)
REPORTS_PATH := $(patsubst %/Makefile,%,$(abspath $(lastword $(MAKEFILE_LIST))))/../../reports
VALGRIND=valgrind -v --tool=memcheck --leak-check=full --show-reachable=yes --undef-value-errors=yes --track-origins=yes --xml=yes --xml-file="$$(mktemp "$(REPORTS_PATH)/valgrind.xml.XXXXXX")"
DATE=$(shell date +%Y-%m-%d:%H:%M:%S)
.PHONY: all force clean forcedep
test: all
......@@ -26,6 +29,11 @@ test: all
all: core $(EXEC)
@echo "All tests compiled."
grep . *.log should-vdj-tests/*.log > $(SNAPSHOT)
touch snapshot-last ; mv snapshot-last snapshot-prev
ln -s $(SNAPSHOT) snapshot-last
should: vidjil $(SHOULD_LOG)
shouldvdj: vidjil
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