[med-svn] [Git][med-team/libgoby-java][master] 2 commits: Creating the test-results directory before running the tests

Pierre Gruet (@pgt) gitlab at salsa.debian.org
Thu Dec 23 15:08:49 GMT 2021



Pierre Gruet pushed to branch master at Debian Med / libgoby-java


Commits:
943fa33d by Pierre Gruet at 2021-12-23T15:39:24+01:00
Creating the test-results directory before running the tests

- - - - -
d92f4b17 by Pierre Gruet at 2021-12-23T16:08:34+01:00
Upload to unstable

- - - - -


2 changed files:

- debian/changelog
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+libgoby-java (3.3.1+dfsg2-7) unstable; urgency=medium
+
+  * Creating the test-results directory before running the tests
+
+ -- Pierre Gruet <pgt at debian.org>  Thu, 23 Dec 2021 15:39:39 +0100
+
 libgoby-java (3.3.1+dfsg2-6) unstable; urgency=medium
 
   * Adding --no-parallel flag to dh_auto_test to avoid concurrent access to


=====================================
debian/rules
=====================================
@@ -8,12 +8,15 @@
 override_dh_auto_clean:
 	dh_auto_clean
 	$(RM) goby-distribution/test-data
+	-rm -rf test-results/
 
 override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	# Create a symlink to the directory with test data for tests run from the
 	# goby-distribution directory.
 	ln -s ../test-data goby-distribution/test-data
+	# The test-results directory should exist because test classes will write inside.
+	if [ ! -e test-results ]; then mkdir test-results/; fi
 	# Putting the JRI location in the path, as indicated in GobyRengine.java.
 	# Also indicating R_HOME, as found in http://rforge.net/JRI/.
 	export LD_LIBRARY_PATH="$$LD_LIBRARY_PATH:/usr/lib/R/site-library/rJava/jri" && \



View it on GitLab: https://salsa.debian.org/med-team/libgoby-java/-/compare/a37a7c2bc9b1154b62cb3cd5aa223b27d0250657...d92f4b17f979b9fe3f0c43b38eb63a57db14327e

-- 
View it on GitLab: https://salsa.debian.org/med-team/libgoby-java/-/compare/a37a7c2bc9b1154b62cb3cd5aa223b27d0250657...d92f4b17f979b9fe3f0c43b38eb63a57db14327e
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/20211223/c6ac66ea/attachment-0001.htm>


More information about the debian-med-commit mailing list