1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
#!/usr/bin/make -f
# DH_VERBOSE := 1
export PYBUILD_SYSTEM=custom
export PYBUILD_CLEAN_ARGS=rm -rf test/results_tab.tsv
%:
dh $@ --with python3 --buildsystem=pybuild
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
./virulencefinder.py -i test/test.fsa -o test/ -p test/database/ -mp blastn -x -q ; \
file=test/results_tab.tsv ; \
DIFF=$$(diff "$$file" test/test_results.tsv) ; \
if [ "$$DIFF" = "" ] && [ -s "$$file" ] ; then \
echo "TEST SUCCEEDED" ; \
else \
echo "TEST FAILED"; \
fi
endif
|