[med-svn] [Git][med-team/libcereal][master] 2 commits: d/t/run-unit-test: Copy sandbox dir for autopkgtests (Closes: #1016742)

Nilesh Patra (@nilesh) gitlab at salsa.debian.org
Sun Aug 7 09:01:45 BST 2022



Nilesh Patra pushed to branch master at Debian Med / libcereal


Commits:
576d2ba6 by Nilesh Patra at 2022-08-07T13:16:48+05:30
d/t/run-unit-test: Copy sandbox dir for autopkgtests (Closes: #1016742)

- - - - -
5588bd8a by Nilesh Patra at 2022-08-07T13:17:16+05:30
Upload to unstable

- - - - -


2 changed files:

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


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+libcereal (1.3.2+dfsg-2) unstable; urgency=medium
+
+  * Team upload.
+  * d/t/run-unit-test: Copy sandbox dir
+    for autopkgtests (Closes: #1016742)
+
+ -- Nilesh Patra <nilesh at debian.org>  Sun, 07 Aug 2022 13:17:06 +0530
+
 libcereal (1.3.2+dfsg-1) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/tests/run-unit-test
=====================================
@@ -1,6 +1,7 @@
 #!/bin/sh
 
 pkg=libcereal-dev
+CUR_DIR=`pwd`
 
 if [ "$AUTOPKGTEST_TMP" = "" ] ; then
   AUTOPKGTEST_TMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
@@ -9,7 +10,10 @@ fi
 
 cd $AUTOPKGTEST_TMP
 
+# Copy relevant files
+cp -a $CUR_DIR/sandbox .
 cp -rs /usr/share/doc/${pkg}/tests/* .
+
 for file in `find . -name "*.gz"`; do gunzip < ${file} > ${file%%.gz}; done
 cmake -DONLY_TEST=on -DSKIP_PORTABILITY_TEST=on -DBUILD_SANDBOX=True .
 make



View it on GitLab: https://salsa.debian.org/med-team/libcereal/-/compare/8045f0c5b851ebc9bf7e96647683fd610ae678b6...5588bd8a55ff56a85634b25fbb9a8026890a831b

-- 
View it on GitLab: https://salsa.debian.org/med-team/libcereal/-/compare/8045f0c5b851ebc9bf7e96647683fd610ae678b6...5588bd8a55ff56a85634b25fbb9a8026890a831b
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/20220807/4eabbfdf/attachment-0001.htm>


More information about the debian-med-commit mailing list