[med-svn] r1500 - trunk/packages/molphy/trunk/debian/tests

tille at alioth.debian.org tille at alioth.debian.org
Mon Mar 3 07:38:56 UTC 2008


Author: tille
Date: 2008-03-03 07:38:55 +0000 (Mon, 03 Mar 2008)
New Revision: 1500

Modified:
   trunk/packages/molphy/trunk/debian/tests/makefile
Log:
Some fixes for simpler usage of test makefile


Modified: trunk/packages/molphy/trunk/debian/tests/makefile
===================================================================
--- trunk/packages/molphy/trunk/debian/tests/makefile	2008-03-03 07:17:43 UTC (rev 1499)
+++ trunk/packages/molphy/trunk/debian/tests/makefile	2008-03-03 07:38:55 UTC (rev 1500)
@@ -7,54 +7,58 @@
 all: comparetests protml nucml njdist
 	@echo All tests successfully done!
 
-protml: test4.ptn test5.ptn test15.ptn test15.cns
+unzip:
+	-gunzip *.gz
+	-cd compare; gunzip *.gz
+
+protml: unzip test4.ptn test5.ptn test15.ptn test15.cns
 	protml -e test4.ptn > test4.tpl
-	@comparetests test4.tpl
+	@sh comparetests test4.tpl
 	protml test4.ptn test4.tpl > test4.ml
-	@comparetests test4.ml
+	@sh comparetests test4.ml
 	protml -e test5.ptn | tee test5.tpl | protml -b test5.ptn - > test5.ml
-	@comparetests test5.tpl
-	@comparetests test5.ml
+	@sh comparetests test5.tpl
+	@sh comparetests test5.ml
 	protml -ef test15.ptn test15.cns > test15.tpl
-	@comparetests test15.tpl
+	@sh comparetests test15.tpl
 	protml -fb test15.ptn test15.tpl > test15.ml
-	@comparetests test15.ml
+	@sh comparetests test15.ml
 	protml -sf test7.ptn > test7.mls
-	@comparetests test7.mls
+	@sh comparetests test7.mls
 	protml -qf -n3 test7.ptn > test7.tpl
-	@comparetests test7.tpl
+	@sh comparetests test7.tpl
 	protml -fb test7.ptn test7.tpl > test7.mlq
-	@comparetests test7.mlq
+	@sh comparetests test7.mlq
 	@echo All $@ successfully done!
 
-nucml: test6.nuc
+nucml: test6.nuc unzip
 	nucml -s test6.nuc > test6.mls
-	@comparetests test6.mls
+	@sh comparetests test6.mls
 	nucml -q -n3 test6.nuc > test6.tplq
-	@comparetests  test6.tplq
+	@sh comparetests  test6.tplq
 	nucml -b -topt test6.nuc test6.tplq > test6.mlq
-	@comparetests  test6.mlq
+	@sh comparetests  test6.mlq
 	nucml -e -t30.58 -n10 test6.nuc > test6.tpl
-	@comparetests  test6.tpl
+	@sh comparetests  test6.tpl
 	nucml -b -t30.58 test6.nuc test6.tpl > test6.ml
-	@comparetests  test6.ml
+	@sh comparetests  test6.ml
 	@echo All $@ successfully done!
 
-njdist: test4.ptn test15.tree
+njdist: test4.ptn test15.tree unzip
 	protml -D test4.ptn > test4.dis
-	@comparetests  test4.dis
+	@sh comparetests  test4.dis
 	njdist test4.dis > test4.nj
-	@comparetests  test4.nj
+	@sh comparetests  test4.nj
 	protml -D test5.ptn | njdist -w > test5.nj
-	@comparetests  test5.nj
+	@sh comparetests  test5.nj
 	protml -D test15.ptn > test15.dis
-	@comparetests  test15.dis
+	@sh comparetests  test15.dis
 	njdist test15.dis > test15.nj
-	@comparetests  test15.nj
+	@sh comparetests  test15.nj
 	njdist -o 18 test15.dis > test15.njo
-	@comparetests  test15.njo
+	@sh comparetests  test15.njo
 	njdist -o 18 -T test15.tree test15.dis > test15.njo
-	@comparetests  test15.tree
+	@sh comparetests  test15.tree
 	@echo All $@ successfully done!
 
 clean:




More information about the debian-med-commit mailing list