Charles Plessy pushed to branch master at Debian Med / tree-puzzle


Commits:
e52253af by Charles Plessy at 2024-09-27T15:46:39+09:00
Don't install output generated by tests because of nondeterminism.

- - - - -


2 changed files:

- debian/changelog
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+tree-puzzle (5.3~rc16+dfsg-11) unstable; urgency=medium
+
+  * Don't install output generated by tests because of nondeterminism.
+    Thanks, Chris Lamb.  Closes: #1082806
+
+ -- Charles Plessy <[email protected]>  Fri, 27 Sep 2024 15:46:29 +0900
+
 tree-puzzle (5.3~rc16+dfsg-10) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/rules
=====================================
@@ -31,13 +31,9 @@ override_dh_install-arch:
        mv `pwd`/debian/tmp/usr/bin/puzzle `pwd`/debian/$(pkg)/usr/bin/$(pkg)
        mv `pwd`/debian/tmp/usr/bin/ppuzzle `pwd`/debian/$(ppkg)/usr/bin/$(ppkg)
 
-override_dh_installexamples:
-       rm -f tests/*.log tests/*.trs
-ifneq (,$(filter $(DEB_BUILD_ARCH),i386))
-       # Does not generate deterministic output on i386.
-       rm -f tests/qp-tn-nucl.nucl*
-endif
-       dh_installexamples
+execute_before_dh_installexamples:
+       # Don't install output generated by tests, some of which is 
nodeterminstic
+       $(MAKE) -C tests clean
 
 override_dh_fixperms:
        dh_fixperms



View it on GitLab: 
https://salsa.debian.org/med-team/tree-puzzle/-/commit/e52253af56d81b733de0c712902cabaaf1b55350

-- 
View it on GitLab: 
https://salsa.debian.org/med-team/tree-puzzle/-/commit/e52253af56d81b733de0c712902cabaaf1b55350
You're receiving this email because of your account on salsa.debian.org.


_______________________________________________
debian-med-commit mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to