[med-svn] [Git][med-team/bart][master] relax flaky tests

Martin Uecker (@uecker-guest) gitlab at salsa.debian.org
Thu Oct 13 20:03:23 BST 2022



Martin Uecker pushed to branch master at Debian Med / bart


Commits:
494ac798 by Martin Uecker at 2022-10-13T21:01:21+02:00
relax flaky tests

- - - - -


2 changed files:

- debian/changelog
- debian/patches/0008-relax-a-failing-test.patch


Changes:

=====================================
debian/changelog
=====================================
@@ -4,6 +4,7 @@ bart (0.8.00-2) UNRELEASED; urgency=medium
   * Turn on tests for more archs.
   * Turn off some optimizations for some archs.
   * Update debian copyright.
+  * Relax some flaky tests.
 
  -- Martin Uecker <uecker at tugraz.at>  Thu, 13 Oct 2022 19:30:06 +0200
 


=====================================
debian/patches/0008-relax-a-failing-test.patch
=====================================
@@ -1,15 +1,25 @@
 From: Martin Uecker <martin.uecker at med.uni-goettingen.de>
 Date: Sun, 25 Sep 2022 21:50:48 +0200
-Subject: relax a failing test
+Subject: relax flaky tests
 
 ---
- tests/pics.mk | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
+ tests/pics.mk | 4 ++--
+ tests/sim.mk  | 2 +-
+ 2 files changed, 3 insertions(+), 3 deletions(-)
 
 diff --git a/tests/pics.mk b/tests/pics.mk
-index cf55f79..f99d1c0 100644
+index cf55f79..13443a5 100644
 --- a/tests/pics.mk
 +++ b/tests/pics.mk
+@@ -287,7 +287,7 @@ tests/test-pics-basis-noncart-memory: traj scale phantom ones join transpose pic
+ 	$(TOOLDIR)/pics -r0.001 -t traj2.ra ksp.ra coils.ra reco.ra			;\
+ 	$(TOOLDIR)/scale 2. reco1.ra reco2.ra						;\
+ 	$(TOOLDIR)/slice 6 0 reco2.ra reco20.ra						;\
+-	$(TOOLDIR)/nrmse -t 0.002 reco.ra reco20.ra					;\
++	$(TOOLDIR)/nrmse -t 0.0021 reco.ra reco20.ra					;\
+ 	rm *.ra ; cd .. ; rmdir $(TESTS_TMP)
+ 	touch $@
+ 
 @@ -373,7 +373,7 @@ tests/test-pics-psf: traj phantom pics nrmse
  	$(TOOLDIR)/phantom -S1 o.ra							;\
  	$(TOOLDIR)/pics -S -r0.001 --psf_export=p.ra -t traj.ra ksp.ra o.ra reco1.ra	;\
@@ -19,3 +29,16 @@ index cf55f79..f99d1c0 100644
  	rm *.ra ; cd .. ; rmdir $(TESTS_TMP)
  	touch $@
  
+diff --git a/tests/sim.mk b/tests/sim.mk
+index 438b319..d264559 100644
+--- a/tests/sim.mk
++++ b/tests/sim.mk
+@@ -240,7 +240,7 @@ tests/test-sim-ode-deriv-r1: sim slice saxpy scale nrmse
+ 	$(TOOLDIR)/saxpy -- -1 s.ra s2.ra diff.ra ;\
+ 	$(TOOLDIR)/scale -- 333 diff.ra g.ra ;\
+ 	$(TOOLDIR)/scale -- -9 g.ra g2.ra ;\
+-	$(TOOLDIR)/nrmse -t 0.01 d_r1.ra g2.ra			    	;\
++	$(TOOLDIR)/nrmse -t 0.012 d_r1.ra g2.ra			    	;\
+ 	rm *.ra ; cd .. ; rmdir $(TESTS_TMP)
+ 	touch $@
+ 



View it on GitLab: https://salsa.debian.org/med-team/bart/-/commit/494ac798a0a20c18dc149f59503530769158cb56

-- 
View it on GitLab: https://salsa.debian.org/med-team/bart/-/commit/494ac798a0a20c18dc149f59503530769158cb56
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/20221013/58f347a7/attachment-0001.htm>


More information about the debian-med-commit mailing list