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