All,

Thank you for the work put into Test::Unit.  I tried yesterday to use
the CPAN module to download and install Test::Unit, and the test harness
failed.  The result is after my signature.  It appears that the test
harness code assumes that TestCase::get_matching_methods will always
return the same methods in the same order, which in turn depends on the
order in which hash table elements are returned, which I believe is
undefined.

It would seem that the easy way out of this would be to sort the result
of get_matching_methods, in order to make it deterministic.  Does this
make sense to anyone else?  Thanks,

        David Saff

PERL_DL_NONLAZY=1 /PAG/local/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/all_tests.......ok
t/assert..........ok
t/try_examples....NOK 1# Test 1 got: 'Suite setup
# ..FSuite teardown
# 
# TIME-SUMMARY
# 
# !!!FAILURES!!!
# Test Results:
# Run: 2, Failures: 1, Errors: 0
# 
# There was 1 failure:
# 1) examples/fail_example.pm:19 - test_fail(fail_example)
# Born to lose ...
# 
# Test was not successful.
# ' (t/try_examples.t at line 103)
#   Expected: 'Suite setup
# .F.Suite teardown
# 
# TIME-SUMMARY
# 
# !!!FAILURES!!!
# Test Results:
# Run: 2, Failures: 1, Errors: 0
# 
# There was 1 failure:
# 1) examples/fail_example.pm:19 - test_fail(fail_example)
# Born to lose ...
# 
# Test was not successful.
# '
t/try_examples....FAILED test 1
        Failed 1/4 tests, 75.00% okay
Failed Test      Stat Wstat Total Fail  Failed  List of Failed
----------------------------------------------------------------------------------------------------
t/try_examples.t                4    1  25.00%  1
Failed 1/3 test scripts, 66.67% okay. 1/83 subtests failed, 98.80% okay.
make: *** [test_dynamic] Error 29






-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Perlunit-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/perlunit-users

Reply via email to