Commit c8021564 authored by Mathieu Giraud's avatar Mathieu Giraud

tests/Makefile: time test commands

See also #3502.
parent af613205
Pipeline #42202 passed with stages
in 45 minutes and 12 seconds
...@@ -16,7 +16,7 @@ SHOULD_LOG=$(SHOULD:.should-get=.tap) ...@@ -16,7 +16,7 @@ SHOULD_LOG=$(SHOULD:.should-get=.tap)
SHOULD_VDJ=$(wildcard should-vdj-tests/*.should-vdj.fa) SHOULD_VDJ=$(wildcard should-vdj-tests/*.should-vdj.fa)
SHOULD_VDJ_VDJ=$(SHOULD_VDJ:.should-vdj.fa=.1.vdj) SHOULD_VDJ_VDJ=$(SHOULD_VDJ:.should-vdj.fa=.1.vdj)
SHOULD_LOCUS=$(wildcard should-vdj-tests/*.should-locus.fa) SHOULD_LOCUS=$(wildcard should-vdj-tests/*.should-locus.fa)
SHOULD_VDJ_TO_TAP=python -u should-vdj-to-tap.py SHOULD_VDJ_TO_TAP=time python -u should-vdj-to-tap.py
REPORTS_PATH := $(patsubst %/Makefile,%,$(abspath $(lastword $(MAKEFILE_LIST))))/../../reports REPORTS_PATH := $(patsubst %/Makefile,%,$(abspath $(lastword $(MAKEFILE_LIST))))/../../reports
VALGRIND=valgrind VALGRIND=valgrind
VALGRIND_TOOLS= --tool=memcheck --leak-check=full --show-reachable=yes --trace-children=yes VALGRIND_TOOLS= --tool=memcheck --leak-check=full --show-reachable=yes --trace-children=yes
...@@ -71,7 +71,7 @@ snapshot_diff_current: ...@@ -71,7 +71,7 @@ snapshot_diff_current:
should: vidjil should: vidjil
python3 should.py --xml $(SHOULD) time python3 should.py --xml $(SHOULD)
shouldvdj_if_python: shouldvdj_if_python:
if python ../../tools/check_python_version.py ; \ if python ../../tools/check_python_version.py ; \
...@@ -122,7 +122,7 @@ curated-vdj.zip: $(SHOULD_VDJ_ARCHIVE) ...@@ -122,7 +122,7 @@ curated-vdj.zip: $(SHOULD_VDJ_ARCHIVE)
valgrind_should: vidjil valgrind_should: vidjil
$(MAKE) -C "$(REPORTS_PATH)" clean_valgrind $(MAKE) -C "$(REPORTS_PATH)" clean_valgrind
python3 should.py --launcher "$(VALGRIND_CMD)" $(SHOULD) time python3 should.py --launcher "$(VALGRIND_CMD)" $(SHOULD)
valgrind_%: valgrind_%:
LAUNCHER="$(VALGRIND_CMD)" $(MAKE) $(patsubst valgrind_%,%,$@) LAUNCHER="$(VALGRIND_CMD)" $(MAKE) $(patsubst valgrind_%,%,$@)
......
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