[med-svn] [Git][med-team/scrm][master] Examples are not needed to run autopkgtest

Andreas Tille gitlab at salsa.debian.org
Thu Dec 3 08:28:06 GMT 2020



Andreas Tille pushed to branch master at Debian Med / scrm


Commits:
4d3434a4 by Andreas Tille at 2020-12-03T09:25:14+01:00
Examples are not needed to run autopkgtest

- - - - -


5 changed files:

- debian/control
- − debian/scrm-examples.install
- − debian/scrm.install
- − debian/scrm.manpages
- debian/tests/run-unit-test


Changes:

=====================================
debian/control
=====================================
@@ -24,19 +24,3 @@ Description: simulator of evolution of genetic sequences
  efficient. Compared to other coalescent simulators, it can simulate
  chromosome-scale sequences without a measureable reduction of genetic linkage
  between different sites.
-
-Package: scrm-examples
-Architecture: all
-Depends: ${shlibs:Depends},
-         ${misc:Depends}
-Description: simulator of evolution of genetic sequences (example data)
- scrm simulates the evolution of genetic sequences.
- .
- It takes a neutral evolutionary model as input, and generates random sequences
- that evolved under the model. As coalescent simulator, it traces the ancestry
- of the sampled sequences backwards in time and is therefore extremely
- efficient. Compared to other coalescent simulators, it can simulate
- chromosome-scale sequences without a measureable reduction of genetic linkage
- between different sites.
- .
- This package contains example data which are used in the package test suite.


=====================================
debian/scrm-examples.install deleted
=====================================
@@ -1,2 +0,0 @@
-tests/*				usr/share/doc/scrm/examples
-debian/tests/run-unit-test	usr/share/doc/scrm/


=====================================
debian/scrm.install deleted
=====================================
@@ -1 +0,0 @@
-usr/bin	usr


=====================================
debian/scrm.manpages deleted
=====================================
@@ -1 +0,0 @@
-usr/share/man/man1/*.1


=====================================
debian/tests/run-unit-test
=====================================
@@ -6,20 +6,7 @@ pkg="scrm"
 export LC_ALL=C.UTF-8
 if [ "${AUTOPKGTEST_TMP}" = "" ] ; then
   AUTOPKGTEST_TMP=$(mktemp -d /tmp/${pkg}-test.XXXXXX)
-  # Double quote below to expand the temporary directory variable now versus
-  # later is on purpose.
-  # shellcheck disable=SC2064
-#  trap "rm -rf ${AUTOPKGTEST_TMP}" 0 INT QUIT ABRT PIPE TERM
-fi
-
-cp -a /usr/share/doc/${pkg}/examples/* "${AUTOPKGTEST_TMP}"
-
-cd "${AUTOPKGTEST_TMP}"
-gunzip -r *
-
-supports_sanitizers=$?
-if [ "$supports_sanitizers" = "0" ]; then
-  echo "Using address sanitizers"
+  trap "rm -rf ${AUTOPKGTEST_TMP}" 0 INT QUIT ABRT PIPE TERM
 fi
 
 test_scrm () {



View it on GitLab: https://salsa.debian.org/med-team/scrm/-/commit/4d3434a47bc7a3ea0ae0c10a89a609efa76307ad

-- 
View it on GitLab: https://salsa.debian.org/med-team/scrm/-/commit/4d3434a47bc7a3ea0ae0c10a89a609efa76307ad
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/20201203/260211c1/attachment-0001.html>


More information about the debian-med-commit mailing list