[med-svn] [Git][med-team/mcaller][master] Also run build time tests

Nilesh Patra (@nilesh) gitlab at salsa.debian.org
Mon Jun 21 14:37:01 BST 2021



Nilesh Patra pushed to branch master at Debian Med / mcaller


Commits:
3cd274e9 by Nilesh Patra at 2021-06-21T19:04:36+05:30
Also run build time tests

- - - - -


1 changed file:

- debian/rules


Changes:

=====================================
debian/rules
=====================================
@@ -9,6 +9,16 @@ include /usr/share/dpkg/default.mk
 %:
 	dh $@ --with python3
 
+override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+	cp -a testdata testdata_save
+	./mCaller.py -p testdata/test_positions_A.txt -r testdata/pb_ecoli_polished_assembly.fasta -e testdata/masonread1.eventalign.tsv -d r95_twobase_model_NN_6_m6A.pkl -f testdata/masonread1.fastq
+	./mCaller.py -p testdata/test_positions_m6A.txt -r testdata/pb_ecoli_polished_assembly.fasta -e testdata/masonread1.eventalign.tsv -d r95_twobase_model_NN_6_m6A.pkl -f testdata/masonread1.fastq
+	./mCaller.py -p testdata/test_positions.txt -r testdata/pb_ecoli_polished_assembly.fasta -e testdata/masonread1.eventalign.tsv -t 4 --train -f testdata/masonread1.fastq
+	rm -rf testdata
+	mv testdata_save testdata
+endif
+
 override_dh_auto_clean:
 	dh_auto_clean
 	#rm -f model_NN_6_m6A.pkl testdata/masonread1.eventalign.diffs.6 testdata/masonread1.eventalign.diffs.6.train



View it on GitLab: https://salsa.debian.org/med-team/mcaller/-/commit/3cd274e938111353c5239b82afc464e01b7cf864

-- 
View it on GitLab: https://salsa.debian.org/med-team/mcaller/-/commit/3cd274e938111353c5239b82afc464e01b7cf864
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20210621/3b25c1eb/attachment.htm>


More information about the debian-med-commit mailing list