develooper Front page | perl.perl5.porters | Postings from May 2007

Smoke test reporting too many tests

From:
Jerry D. Hedden
Date:
May 29, 2007 10:17
Subject:
Smoke test reporting too many tests
Message ID:
1ff86f510705291016v29631971g728d1949c01e7af8@mail.gmail.com
With Change 31262 (which upgraded threads::shared to 1.12),
the test file:
    ext/threads/shared/t/waithires.t
only has 57 tests:

    BEGIN {
        $| = 1;
        print("1..57\n");   ### Number of tests that will be run ###
    };

However, the smoke test report:
    http://www.nntp.perl.org/group/perl.perl5.porters/2007/05/msg124775.html
shows:

> Locally applied patches:
>     DEVEL
>     SMOKE31277
>
> Failures: (common-args) -Dgccansipedantic
> [perlio] -Duseithreads
>     ../ext/threads/shared/t/waithires.t.....FAILED 15-17 33-45 58-75
>
> [en_US.utf8] -Duseithreads
> [stdio/en_US.utf8] -DDEBUGGING -Duseithreads
> [perlio/en_US.utf8] -Duseithreads -Duse64bitint
> [perlio/en_US.utf8] -DDEBUGGING -Duseithreads -Duse64bitint
> [en_US.utf8] -Duseithreads -Duselongdouble
> [perlio/en_US.utf8] -DDEBUGGING -Duseithreads -Duselongdouble
> [perlio/en_US.utf8] -Duseithreads -Dusemorebits
> [stdio/en_US.utf8] -DDEBUGGING -Duseithreads -Dusemorebits
>     ../ext/threads/shared/t/waithires.t.....FAILED 33-45 58-75
>
> [perlio] -DDEBUGGING -Duseithreads
> [stdio] -Duseithreads -Duse64bitint
>     ../ext/threads/shared/t/waithires.t.....FAILED 10-17 33-45 58-75
>
> [stdio] -DDEBUGGING -Duseithreads -Duse64bitint
> Inconsistent test results (between TEST and harness):
>     ../ext/threads/shared/t/waithires.t.....FAILED--expected test 33, saw test 63

How can it be reporting 75 tests?  Or in the last case,
expecting 33 and seeing 63?

Is this a bug in the smoke test code?



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About