GNU bug report logs -
#29030
[PATCH] perl-sys-cpu: Mark cpu_type and cpu_clock tests as TODO.
Previous Next
Reported by: Eric Bavier <bavier <at> cray.com>
Date: Fri, 27 Oct 2017 20:41:02 UTC
Severity: normal
Tags: patch
Done: Eric Bavier <ericbavier <at> centurylink.net>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 29030 in the body.
You can then email your comments to 29030 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#29030
; Package
guix-patches
.
(Fri, 27 Oct 2017 20:41:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Eric Bavier <bavier <at> cray.com>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Fri, 27 Oct 2017 20:41: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)]
Hello Guix,
On my system, perl-sys-cpu's tests fail because of differences in the information available in /proc/cpuinfo.
Debian's patch for this perl module seemed nice: rather than trying to fix the related functions, just concede that the module is mostly used just to read the number of available processors and mark the other tests as "TODO".
This patch replaces the test file with debian's using an origin snippet.
Eric Bavier, Scientific Libraries, Cray Inc.
[guix-perl-sys-cpu-tests.patch (text/x-patch, attachment)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#29030
; Package
guix-patches
.
(Sat, 28 Oct 2017 07:52:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 29030 <at> debbugs.gnu.org (full text, mbox):
Hi Eric,
Eric Bavier <bavier <at> cray.com> skribis:
> On my system, perl-sys-cpu's tests fail because of differences in the information available in /proc/cpuinfo.
>
> Debian's patch for this perl module seemed nice: rather than trying to fix the related functions, just concede that the module is mostly used just to read the number of available processors and mark the other tests as "TODO".
[...]
> + (snippet
> + '(begin
> + ;; Replace test with one that marks cpu_clock and cpu_type
> + ;; as TODO. Borrowed from Debian.
Perhaps make it clear in the comment that we do this because the
contents of /proc/cpuinfo differ based on different factors.
Otherwise LGTM, thanks!
Ludo’.
Reply sent
to
Eric Bavier <ericbavier <at> centurylink.net>
:
You have taken responsibility.
(Sun, 29 Oct 2017 04:30:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Eric Bavier <bavier <at> cray.com>
:
bug acknowledged by developer.
(Sun, 29 Oct 2017 04:30:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 29030-done <at> debbugs.gnu.org (full text, mbox):
On Sat, 28 Oct 2017 09:51:24 +0200
ludo <at> gnu.org (Ludovic Courtès) wrote:
> Hi Eric,
>
> Eric Bavier <bavier <at> cray.com> skribis:
>
> > On my system, perl-sys-cpu's tests fail because of differences in the information available in /proc/cpuinfo.
> >
> > Debian's patch for this perl module seemed nice: rather than trying to fix the related functions, just concede that the module is mostly used just to read the number of available processors and mark the other tests as "TODO".
>
> [...]
>
> > + (snippet
> > + '(begin
> > + ;; Replace test with one that marks cpu_clock and cpu_type
> > + ;; as TODO. Borrowed from Debian.
>
> Perhaps make it clear in the comment that we do this because the
> contents of /proc/cpuinfo differ based on different factors.
OK.
> Otherwise LGTM, thanks!
Thanks, pushed in 9de52b56438674c0d0f92be34cebf5f1a38a6bfa.
`~Eric
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 26 Nov 2017 12:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 7 years and 210 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.