GNU bug report logs -
#28250
slf4j-api: enable tests
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 28250 in the body.
You can then email your comments to 28250 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#28250
; Package
guix-patches
.
(Sun, 27 Aug 2017 11:34:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Julien Lepiller <julien <at> lepiller.eu>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sun, 27 Aug 2017 11:34:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi,
I found what prevented the tests to pass in slf4j-api. In
slf4j-api/pom.xml, the jar file is created with all classes, except
those in impl/.
I did the same with a new pase where I delete the impl/ directory and
regenerate the jar file. Maybe I should fix teh build.xml file instead?
Then, tests pass except for one file. This file is an abstract class
meant to be extended by other test cases, but it's not a test case in
itself, hence the failure. This time, I implemented another phase where
I fix the build.xml file to exclude this file from testing.
I'm working on other packages, and it's not the first time I see some
tests I need to disable because they shouldn't be run. Maybe I could
add arguments to the ant build system, such as #:test-include and
#:test-exclude, defaulting to '("**/*.java") and '() respectively?
Thank you :)
[0001-gnu-java-slf4j-api-Fix-tests.patch (text/x-patch, attachment)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#28250
; Package
guix-patches
.
(Fri, 08 Sep 2017 16:06:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 28250 <at> debbugs.gnu.org (full text, mbox):
Julien Lepiller <julien <at> lepiller.eu> skribis:
>>From 2a9b0420c249b4b896f5980a55be8ae5595bd96b Mon Sep 17 00:00:00 2001
> From: Julien Lepiller <julien <at> lepiller.eu>
> Date: Sun, 27 Aug 2017 13:19:31 +0200
> Subject: [PATCH] gnu: java-slf4j-api: Fix tests.
>
> * gnu/packages/java.scm (java-slf4j-api)[arguments]: Enable tests
> Adjust the jar content to prevent a test failure.
I don’t fully understand what’s at play but this looks like a step in
the right direction to me, so I’d say go ahead!
Thanks,
Ludo’.
Reply sent
to
Julien Lepiller <julien <at> lepiller.eu>
:
You have taken responsibility.
(Fri, 08 Sep 2017 18:44:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Julien Lepiller <julien <at> lepiller.eu>
:
bug acknowledged by developer.
(Fri, 08 Sep 2017 18:44:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 28250-done <at> debbugs.gnu.org (full text, mbox):
Le Fri, 08 Sep 2017 18:05:25 +0200,
ludo <at> gnu.org (Ludovic Courtès) a écrit :
> Julien Lepiller <julien <at> lepiller.eu> skribis:
>
> >>From 2a9b0420c249b4b896f5980a55be8ae5595bd96b Mon Sep 17 00:00:00
> >>2001
> > From: Julien Lepiller <julien <at> lepiller.eu>
> > Date: Sun, 27 Aug 2017 13:19:31 +0200
> > Subject: [PATCH] gnu: java-slf4j-api: Fix tests.
> >
> > * gnu/packages/java.scm (java-slf4j-api)[arguments]: Enable tests
> > Adjust the jar content to prevent a test failure.
>
> I don’t fully understand what’s at play but this looks like a step in
> the right direction to me, so I’d say go ahead!
>
> Thanks,
> Ludo’.
Actually, since there was no answer on this bug, I already pushed it a
few days ago. I forgot to close the ticket.
Pushed as dcf7a8a660554eb952e6412637e26bb523af03e8.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 07 Oct 2017 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 7 years and 318 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.