guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

48/50: gnu: java-simple-xml: Delete failing test.


From: guix-commits
Subject: 48/50: gnu: java-simple-xml: Delete failing test.
Date: Thu, 23 Dec 2021 16:34:35 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit e44a0d2ce2aff15497106ed64edb0f7f6faaafb8
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Thu Dec 23 17:12:51 2021 +0100

    gnu: java-simple-xml: Delete failing test.
    
    This is a follow-up to commit 8e32bd1720336ec62258cb842dce812f7f979d04.
    
    * gnu/packages/xml.scm (java-simple-xml)[arguments]: Disable test by 
deleting
    it, as #:test-exclude doesn't have any effect.
---
 gnu/packages/xml.scm | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index 9f83c7d..b89115a 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -1553,11 +1553,14 @@ Excel(TM) since version 2007.")
     (arguments
      `(#:build-target "build"
        #:test-target "test"
-       ;; This test sometimes fails with an out of memory exception
-       #:test-exclude (list "**/NoAnnotationsRequiredTest.java")
        #:phases
        (modify-phases %standard-phases
-         (replace 'install (install-jars "jar")))))
+         (replace 'install (install-jars "jar"))
+         (add-before 'check 'disable-failing-test
+           (lambda _
+             ;; This test sometimes fails with an out of memory exception
+             (delete-file
+              
"test/src/org/simpleframework/xml/core/NoAnnotationsRequiredTest.java"))))))
     (native-inputs
      (list unzip))
     (home-page "http://simple.sourceforge.net/";)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]