[med-svn] [Git][med-team/dwgsim][master] Modify/fix autopkgtest

Nilesh Patra (@nilesh) gitlab at salsa.debian.org
Thu Feb 17 17:09:58 GMT 2022



Nilesh Patra pushed to branch master at Debian Med / dwgsim


Commits:
8ce9ca8d by Nilesh Patra at 2022-02-17T22:39:48+05:30
Modify/fix autopkgtest

- - - - -


1 changed file:

- debian/tests/run-unit-test


Changes:

=====================================
debian/tests/run-unit-test
=====================================
@@ -16,14 +16,8 @@ cd "${AUTOPKGTEST_TMP}"
 gunzip -r *
 
 echo "BEGIN TEST"
-mkdir -p tmp
-dwgsim -z 13 -N 10000 ex1.fa tmp/ex1.test
 
-echo "TAKE DIFF FOR CORRECT OUTPUT"
-for FILE in $(ls -1 ex1.test*)
-do 
-	diff -q ${FILE} tmp/${FILE}
-done
-rm -rf tmp
-echo "PASS"
+sed -i -e 's|\.\/dwgsim|dwgsim|g' ./test.sh
+bash ./test.sh
 
+echo "PASS"



View it on GitLab: https://salsa.debian.org/med-team/dwgsim/-/commit/8ce9ca8df493fbbb862ae93dc82bceb9107030ab

-- 
View it on GitLab: https://salsa.debian.org/med-team/dwgsim/-/commit/8ce9ca8df493fbbb862ae93dc82bceb9107030ab
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/20220217/4cce6a3a/attachment.htm>


More information about the debian-med-commit mailing list