guix-commits
[Top][All Lists]
Advanced

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

branch wip-java-bootstrap-simplify updated: gnu: java-simple-xml: Delete


From: guix-commits
Subject: branch wip-java-bootstrap-simplify updated: gnu: java-simple-xml: Delete failing test.
Date: Thu, 23 Dec 2021 11:13:57 -0500

This is an automated email from the git hooks/post-receive script.

rekado pushed a commit to branch wip-java-bootstrap-simplify
in repository guix.

The following commit(s) were added to refs/heads/wip-java-bootstrap-simplify by 
this push:
     new a7f848b  gnu: java-simple-xml: Delete failing test.
a7f848b is described below

commit a7f848bfa5ff234bd16534985b72296abab4d86d
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]