GNU bug report logs - #30062
[PATCH core-updates] gnu: java-ops4j-pax-tinybundles: Disable failing test.

Previous Next

Package: guix-patches;

Reported by: Gábor Boskovits <boskovits <at> gmail.com>

Date: Wed, 10 Jan 2018 09:35:02 UTC

Severity: normal

Tags: patch

Done: Danny Milosavljevic <dannym <at> scratchpost.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: julien lepiller <julien <at> lepiller.eu>
To: 30062 <at> debbugs.gnu.org
Subject: [bug#30062] [PATCH core-updates] gnu: java-ops4j-pax-tinybundles: Disable failing test.
Date: Wed, 10 Jan 2018 11:33:48 +0100
Le 2018-01-10 10:33, Gábor Boskovits a écrit :
> * gnu/packages/java.scm (java-ops4j-pax-tinybundles)[arguments]:
> Modify #:test-exclude
> to disable all bnd tests.
> 
> The bnd testsuite hardcodes the version of bnd, making it impossible
> to update bnd
> independently. Disable it to avoid test failures on bnd updates.
> ---
>  gnu/packages/java.scm | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
> index e1e9093df..3e32eb882 100644
> --- a/gnu/packages/java.scm
> +++ b/gnu/packages/java.scm
> @@ -6054,7 +6054,8 @@ it manages project dependencies, gives diffs
> jars, and much more.")
>         #:source-dir "src/main/java"
>         #:test-exclude
>         ;; Abstract base classes for other tests
> -       (list "**/BndTest.java" "**/CoreTest.java")
> +       ;; Disable bnd tests, they hardcode the version of bnd.
> +       (list "**/Bnd*Test.java" "**/CoreTest.java")
>         #:phases
>         (modify-phases %standard-phases
>           (add-before 'check 'fix-version

Couldn't we use substitute* to replace the hardcoded version with our 
own version of bnd?




This bug report was last modified 7 years and 81 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.