[med-svn] [Git][med-team/seqan-raptor][master] 2 commits: d/tests/cwl: save results to $AUTOPKGTEST_ARTIFACTS, use $AUTOPKGTEST_TMP for temporary files.

Michael R. Crusoe (@crusoe) gitlab at salsa.debian.org
Tue Aug 22 12:50:07 BST 2023



Michael R. Crusoe pushed to branch master at Debian Med / seqan-raptor


Commits:
1c01e09f by Michael R. Crusoe at 2023-08-22T10:54:32+02:00
d/tests/cwl: save results to $AUTOPKGTEST_ARTIFACTS, use $AUTOPKGTEST_TMP for temporary files.

- - - - -
d6cd95ce by Michael R. Crusoe at 2023-08-22T13:14:51+02:00
routine-update: Ready to upload to unstable

- - - - -


3 changed files:

- debian/changelog
- debian/tests/cwl
- debian/tests/run-unit-test


Changes:

=====================================
debian/changelog
=====================================
@@ -1,10 +1,12 @@
-seqan-raptor (3.0.1+ds-3) UNRELEASED; urgency=medium
+seqan-raptor (3.0.1+ds-3) unstable; urgency=medium
 
   * d/rules,d/tests/*: whoops, more work needed to build & run all the available
     tests.
   * Add "-O3" to the build-flags, to match "-DCMAKE_BUILD_TYPE=Release".
+  * d/tests/cwl: save results to $AUTOPKGTEST_ARTIFACTS, use
+    $AUTOPKGTEST_TMP for temporary files.
 
- -- Michael R. Crusoe <crusoe at debian.org>  Mon, 21 Aug 2023 16:36:15 +0200
+ -- Michael R. Crusoe <crusoe at debian.org>  Tue, 22 Aug 2023 13:14:50 +0200
 
 seqan-raptor (3.0.1+ds-2) unstable; urgency=medium
 


=====================================
debian/tests/cwl
=====================================
@@ -3,15 +3,24 @@ set -e
 
 pkg=seqan-raptor
 
+export LC_ALL=C.UTF-8
 if [ "${AUTOPKGTEST_TMP}" = "" ] ; then
   AUTOPKGTEST_TMP=$(mktemp -d /tmp/${pkg}-test.XXXXXX)
+  # shellcheck disable=SC2064
   trap "rm -rf ${AUTOPKGTEST_TMP}" 0 INT QUIT ABRT PIPE TERM
 fi
 
-cwltool --outdir "${AUTOPKGTEST_TMP}" /usr/share/commonwl/raptor-build.cwl \
+export TMPDIR=${AUTOPKGTEST_TMP}
+
+mkdir "${AUTOPKGTEST_ARTIFACTS}"/raptor-build-0_bins_window_19
+mkdir "${AUTOPKGTEST_ARTIFACTS}"/raptor-build-16_bins_window_19
+
+cwltool --outdir "${AUTOPKGTEST_ARTIFACTS}/raptor-build-0_bins_window_19" \
+	/usr/share/commonwl/raptor-build.cwl \
 	workflow/cwl/tests/raptor-build-0_bins_window_19.yml \
-	| grep 098169f476fb949b0d08f2d1e05881049819b811
+	| tee | grep 098169f476fb949b0d08f2d1e05881049819b811
 
-cwltool --outdir "${AUTOPKGTEST_TMP}" /usr/share/commonwl/raptor-build.cwl \
+cwltool --outdir "${AUTOPKGTEST_ARTIFACTS}/raptor-build-16_bins_window_19" \
+	/usr/share/commonwl/raptor-build.cwl \
 	workflow/cwl/tests/raptor-build-16_bins_window_19.yml \
-	| grep 64a4328eb3dab99bf6ecd38f84f4ae45fd01a4dd
+	| tee |grep 64a4328eb3dab99bf6ecd38f84f4ae45fd01a4dd


=====================================
debian/tests/run-unit-test
=====================================
@@ -3,8 +3,10 @@ set -e
 
 pkg=seqan-raptor
 
+export LC_ALL=C.UTF-8
 if [ "${AUTOPKGTEST_TMP}" = "" ] ; then
   AUTOPKGTEST_TMP=$(mktemp -d /tmp/${pkg}-test.XXXXXX)
+  # shellcheck disable=SC2064
   trap "rm -rf ${AUTOPKGTEST_TMP}" 0 INT QUIT ABRT PIPE TERM
 fi
 



View it on GitLab: https://salsa.debian.org/med-team/seqan-raptor/-/compare/85329779171623591f9d2992017819159fc2b3fd...d6cd95ce9e91818f977c815d43f38919072e9038

-- 
View it on GitLab: https://salsa.debian.org/med-team/seqan-raptor/-/compare/85329779171623591f9d2992017819159fc2b3fd...d6cd95ce9e91818f977c815d43f38919072e9038
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/20230822/5e6e3eea/attachment-0001.htm>


More information about the debian-med-commit mailing list