[med-svn] [Git][med-team/garli][master] set 'bootstrapseed' in tests

Sascha Steinbiss (@satta) gitlab at salsa.debian.org
Sat Nov 9 20:32:35 GMT 2024



Sascha Steinbiss pushed to branch master at Debian Med / garli


Commits:
2d3435cb by Sascha Steinbiss at 2022-02-20T15:34:39+01:00
set 'bootstrapseed' in tests

- - - - -


2 changed files:

- debian/changelog
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+garli (2.1-7) unstable; urgency=medium
+
+  * Team upload.
+  * Set 'bootstrapseed' in tests to further reduce randomness, probably
+    addresses #907905.
+
+ -- Sascha Steinbiss <satta at debian.org>  Sun, 20 Feb 2022 11:49:10 +0100
+
 garli (2.1-6) unstable; urgency=medium
 
   * Really fix watch file


=====================================
debian/rules
=====================================
@@ -21,7 +21,7 @@ override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	cp -a tests tests.bak
 	# get (mostly!) reproducible test results and avoid failures as described in bug #907905
-	find tests -name "*.conf" -exec sed -i~ 's/randseed *= *-1/randseed = 1/' \{\} \;
+	find tests -name "*.conf" -exec sed -i~ 's/randseed *= *-1/randseed = 1\nbootstrapseed = 42/' \{\} \;
 	dh_auto_test
 	# restore original test dir
 	rm -rf tests



View it on GitLab: https://salsa.debian.org/med-team/garli/-/commit/2d3435cbd0b7b96f7a286a7d67e91539d2e50e6a

-- 
View it on GitLab: https://salsa.debian.org/med-team/garli/-/commit/2d3435cbd0b7b96f7a286a7d67e91539d2e50e6a
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/20241109/ec889b41/attachment-0001.htm>


More information about the debian-med-commit mailing list