[med-svn] [Git][med-team/fast][master] autopkgtest
Shayan Doust
gitlab at salsa.debian.org
Sun Aug 18 02:30:06 BST 2019
Shayan Doust pushed to branch master at Debian Med / fast
Commits:
a2717bc5 by Shayan Doust at 2019-08-17T13:58:34Z
autopkgtest
Not sure if this works fully yet due to lack of resources
- - - - -
3 changed files:
- debian/fast-examples.install
- debian/source/include-binaries
- debian/tests/run-unit-test
Changes:
=====================================
debian/fast-examples.install
=====================================
@@ -23,3 +23,4 @@ debian/tmp/usr/fast/bin/qtInteroperability usr/lib/fast
debian/tmp/usr/fast/bin/seededRegionGrowingSegmentation usr/lib/fast
debian/tmp/usr/fast/bin/simpleGUI usr/lib/fast
debian/tmp/usr/fast/bin/streamImagesFromDisk usr/lib/fast
+debian/tmp/usr/fast/bin/testFAST usr/lib/fast
=====================================
debian/source/include-binaries
=====================================
@@ -1 +1 @@
-debian/missing-sources/FAST_Test_Data.zip
+debian/missing-sources/FAST_Test_Data.xz
=====================================
debian/tests/run-unit-test
=====================================
@@ -1,18 +1,18 @@
#!/bin/bash
set -e
-pkg=#PACKAGENAME#
+pkg=fast
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}"
+cp -a /usr/lib/fast/* "${AUTOPKGTEST_TMP}"
cd "${AUTOPKGTEST_TMP}"
+echo "Unpacking test data"
+tar xf FAST_Test_Data.xz
-#do_stuff_to_test_package#
+echo "Invoking testFAST"
+./testFAST
View it on GitLab: https://salsa.debian.org/med-team/fast/commit/a2717bc52b5a344d75319b0e7364e5513714351f
--
View it on GitLab: https://salsa.debian.org/med-team/fast/commit/a2717bc52b5a344d75319b0e7364e5513714351f
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/20190818/f6e587ca/attachment-0001.html>
More information about the debian-med-commit
mailing list