Commit cb9d3fea authored by Mathieu Giraud's avatar Mathieu Giraud

tests/Makefile: skip should-vdj.fa tests when the Python version test fails.

parent 6577fd78
......@@ -49,9 +49,7 @@ should: all
shouldvdj: all
@echo
@echo "*** Launching .should-vdj-fa tests..."
make COVERAGE="$(COVERAGE_OPTION)" -C $(VIDJIL_ALGO_SRC)/tests shouldvdj
@echo "*** All .should-vdj.fa tests passed"
make COVERAGE="$(COVERAGE_OPTION)" -C $(VIDJIL_ALGO_SRC)/tests shouldvdj_if_python
shouldvdj_generate:
@echo
......
......@@ -36,9 +36,15 @@ snapshot:
should: vidjil $(SHOULD_LOG)
shouldvdj_if_python:
-(python ../../tools/check_python_version.py && make shouldvdj)
@(python ../../tools/check_python_version.py || echo "!!! Bad python version, we skip .should-vdj.fa tests...")
shouldvdj: vidjil
@echo "*** Launching .should-vdj-fa tests..."
python should-vdj-to-tap.py -2q -r $(SHOULD_VDJ) $(SHOULD_LOCUS)
python should-vdj-to-tap.py $(SHOULD_VDJ)
@echo "*** All .should-vdj.fa tests passed"
%.tap: %.should_get force
./should-to-tap.sh $<
......
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