Re: Fix perl/ithreads random failures
[prev]
[thread]
[next]
[Date index for 2004/12/08]
Steve Hay <steve.hay@xx.xxxxx.xxx> writes:
> What was the problem that you had on HP/UX? Was it crashing or just
> failing (as in "not ok")?
It was not crashing, just ending up the the wrong value. The
TEST_VERBOSE=1 output was this.
perl/ithreads.....1..4
# Running under perl version 5.008006 for hpux
# Current time local: Wed Dec 8 02:47:14 2004
# Current time GMT: Wed Dec 8 10:47:14 2004
# Using Test.pm version 1.25
ok 1
# testing : thread callback returned value
# expected: 2
# received: 2
ok 2
# testing : shared counter
# expected: 1048576
# received: 524288
not ok 3
# testing : private counter
# expected: 1024
# received: 1024
ok 4
FAILED test 3
Failed 1/4 tests, 75.00% okay
perl/ithreads2....# connecting to localhost:8540
1..4
# Running under perl version 5.008006 for hpux
# Current time local: Wed Dec 8 02:47:15 2004
# Current time GMT: Wed Dec 8 10:47:15 2004
# Using Test.pm version 1.25
ok 1
# testing : thread callback returned value
# expected: 2
# received: 2
ok 2
# testing : shared counter
# expected: 1048576
# received: 262144
not ok 3
# testing : private counter
# expected: 1024
# received: 1024
ok 4
FAILED test 3
Failed 1/4 tests, 75.00% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
------------------------------------------------------------------------------------------------------------------------------
perl/ithreads.t 4 1 25.00% 3
perl/ithreads2.t 4 1 25.00% 3
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html