GNU bug report logs - #29030
[PATCH] perl-sys-cpu: Mark cpu_type and cpu_clock tests as TODO.

Previous Next

Package: guix-patches;

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.

Full log


Message #8 received at 29030 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Eric Bavier <bavier <at> cray.com>
Cc: 29030 <at> debbugs.gnu.org
Subject: Re: [bug#29030] [PATCH] perl-sys-cpu: Mark cpu_type and cpu_clock
 tests as TODO.
Date: Sat, 28 Oct 2017 09:51:24 +0200
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’.




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.