[SCM] Debian packaging of Sys-CPU CPAN distribution branch, master, updated. debian/0.52-2-2-g6704811

gregor herrmann gregoa at debian.org
Sat Jun 30 01:38:46 UTC 2012


The following commit has been merged in the master branch:
commit f3205f3b58b84b26adb71cbe9bb4f17f19ca2422
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat Jun 30 03:33:57 2012 +0200

    Test-More.patch: mark another test as TODO.

diff --git a/debian/patches/Test-More.patch b/debian/patches/Test-More.patch
index 6553870..5a14845 100644
--- a/debian/patches/Test-More.patch
+++ b/debian/patches/Test-More.patch
@@ -1,13 +1,13 @@
-Description: rewrite test with Test::More, mark test for CPU type as TODO
+Description: rewrite test with Test::More, mark tests as TODO
 Origin: vendor
 Bug-Debian: http://bugs.debian.org/679135
 Forwarded: no
 Author: gregor herrmann <gregoa at debian.org>
-Last-Update: 2012-06-29
+Last-Update: 2012-06-30
 
 --- /dev/null
 +++ b/t/Sys-CPU-Test-More.t
-@@ -0,0 +1,17 @@
+@@ -0,0 +1,20 @@
 +#!/usr/bin/perl
 +
 +use Test::More tests => 4;
@@ -17,8 +17,11 @@ Last-Update: 2012-06-29
 +$number = &Sys::CPU::cpu_count();
 +ok( defined($number), "CPU Count: $number" );
 +
-+$speed = &Sys::CPU::cpu_clock();
-+ok( defined($speed), "CPU Speed: $speed" );
++TODO: {
++    local $TODO = "/proc/cpuinfo doesn't always report 'cpu MHz' or 'clock' or 'bogomips' ...";
++    $speed = &Sys::CPU::cpu_clock();
++    ok( defined($speed), "CPU Speed: $speed" );
++}
 +
 +TODO: {
 +    local $TODO = "/proc/cpuinfo doesn't always report 'model name' or 'machine' ...";

-- 
Debian packaging of Sys-CPU CPAN distribution



More information about the Pkg-perl-cvs-commits mailing list