Skip Menu |

This queue is for tickets about the Statistics-Basic CPAN distribution.

Report information
The Basics
Id: 74155
Status: resolved
Worked: 20 min
Priority: 0/
Queue: Statistics-Basic

People
Owner: Nobody in particular
Requestors: cpan698301 [...] mstier.de
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: 4 tests fail
Under perl 5.14.2, some tests fail. See attached test log output.
Subject: testlog.txt

Message body is not shown because it is too large.

I'm building a 5.12.4 presently, so I'll see if I can reproduce it; but I don't really expect to be able to based on the matrix: http://pass.cpantesters.org/distro/S/Statistics-Basic.html Do you have any insight into the differences on your machine? -- If riding in an airplane is flying, then riding in a boat is swimming. 116 jumps, 48.6 minutes of freefall, 92.9 freefall miles.
On Fri Jan 20 10:11:44 2012, JETTERO wrote: Show quoted text
> I'm building a 5.12.4
LOL: I'm building a 5.14.2 ... I got all dysgraphic there. -Paul -- If riding in an airplane is flying, then riding in a boat is swimming. 116 jumps, 48.6 minutes of freefall, 92.9 freefall miles.
I'm going to need to know a lot more about your platform to even begin to guess what problem you're having. PERL_DL_NONLAZY=1 /usr/local/jperl/5.14.2/bin/perl5.14.2 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/05_load_them.t ................... ok t/07_vector.t ...................... ok t/08_cvec.t ........................ ok t/08_filter_outliers.t ............. ok t/09_test_importer_vars_debug.t .... ok t/09_test_importer_vars_debug0.t ... ok t/09_test_importer_vars_debug1.t ... ok t/09_test_importer_vars_ipres.t .... ok t/09_test_importer_vars_ipres1.t ... ok t/09_test_importer_vars_ipres2.t ... ok t/09_test_importer_vars_nofill.t ... ok t/09_test_importer_vars_nofill0.t .. ok t/09_test_importer_vars_nofill1.t .. ok t/09_test_importer_vars_toler.t .... ok t/09_test_importer_vars_toler1.t ... ok t/10_mean.t ........................ ok t/10_median.t ...................... ok t/10_mode.t ........................ ok t/10_moving_average.t .............. ok t/15_covariance.t .................. ok t/15_variance.t .................... ok t/17_stddev.t ...................... ok t/19_combo.t ....................... ok t/20_correlation.t ................. ok t/20_LSF.t ......................... ok t/25_correlate_computed.t .......... ok t/30_empty_constructor_tests.t ..... ok t/53_co_persistance.t .............. ok t/53_persistance.t ................. ok t/54_doc_example.t ................. ok t/60_bigfloats.t ................... [M::BF version: 1.997] t/60_bigfloats.t ................... ok t/75_filtered_missings.t ........... ok t/75_missing_correlated.t .......... ok t/critic.t ......................... skipped: Author test. t/pod.t ............................ skipped: Author test. t/pod_coverage.t ................... skipped: Author test. All tests successful. Files=36, Tests=221, 2 wallclock secs ( 0.14 usr 0.04 sys + 1.29 cusr 0.17 csys = 1.64 CPU) Result: PASS -- If riding in an airplane is flying, then riding in a boat is swimming. 116 jumps, 48.6 minutes of freefall, 92.9 freefall miles.
Subject: 4 tests fail because Vector stringification overloading different with DEBUG=1
From: cpan698301 [...] mstier.de
The problem is obvious. The tests fail when env var DEBUG is set. DEBUG=1 make test Vector.pm overloads stringification different with debug enabled. Not good.
On Fri Jan 20 20:44:37 2012, https://www.google.com/accounts/o8/id?id=AItOawkyOHx--RP0sCuxSqimRLgFJ_YPC6QRWZk wrote: Show quoted text
> The problem is obvious.
Your definition may differ from mine. Show quoted text
> Vector.pm overloads stringification different with debug enabled. Not
good. This should have been in the initial report as well. Tag debugging is intentional in debug mode and the test suite is not intended to pass tests in debug mode. I've never even tried that, to be honest. I mainly use debug mode for debugging. Thanks for your interest in the distribution. -- If riding in an airplane is flying, then riding in a boat is swimming. 116 jumps, 48.6 minutes of freefall, 92.9 freefall miles.
From: cpan698301 [...] mstier.de
Agreed. However, letting tests fail when such a generic environment variable like 'DEBUG' is set, is not a good idea. Would be great if it could be renamed to something more package specific like DEBUG_STATISTICS_BASIC.
Show quoted text
> DEBUG_STATISTICS_BASIC.
Excellent idea. I shall do so. -- If riding in an airplane is flying, then riding in a boat is swimming. 116 jumps, 48.6 minutes of freefall, 92.9 freefall miles.
see 1.6605 -- If riding in an airplane is flying, then riding in a boat is swimming. 116 jumps, 48.6 minutes of freefall, 92.9 freefall miles.