Subject: | sapnwrfc_0.20 bug found in test scripts |
Date: | Thu, 18 Sep 2008 12:07:31 -0400 |
To: | "bug-sapnwrfc [...] rt.cpan.org" <bug-sapnwrfc [...] rt.cpan.org> |
From: | Shane Boyce <Shane.Boyce [...] gennum.com> |
Message body not shown because it is not plain text.
Hello Mr. Harding,
I've just installed the above Perl module to connect to SAP. After many hours of tweaking I managed to get it to install and test (mostly) correctly.
However, In order for the "make test" portion to work, I had to tweak your test scripts, as they appear to break the Test::More structure.
May I please request that the ".t" files be changed in future releases so that they work without manual tweaking?
Inside the included TAR.GZ file in this email are some changes to your code:
1. t/passed
--> contains ".t" files that run without runtime errors
2. t/original
--> your original ".t" files that won't compile because of the test inside the BEGIN { use_ok() } block that runs before your "plans tests => #" lines run, causing a runtime error that test executed without a "plan".
3. make_test_output_original_failing.txt
--> screen dump of test results when using your original ".t" files
4. make_test_output_51_of_6740_failing.txt
--> screen dump using the "t/passed" altered ".t" files. (Still couldn't get the last 51 tests to pass. All involved $attrib->{pcs} being blank.)
Versions of Perl software installed:
Module id INST_Version
Test::Harness 3.14
Test::More 0.80
CPAN 1.9205
Bundle::CPAN 1.857
Show quoted text
> uname -a
Linux tweety 2.6.9-67.0.20.ELsmp #1 SMP Wed Jun 18 12:40:47 EDT 2008 i686 i686 i386 GNU/Linux
Show quoted text> more /etc/redhat-release
Red Hat Enterprise Linux ES release 4 (Nahant Update 6)
Show quoted text> perl -v
This is perl, v5.8.5 built for i386-linux-thread-multi
Do you require any additional information to assist you with why these test scripts aren't working? (Note: No, I didn't pick our server's name. :-) )
Thank you.
Regards,
Shane K. Boyce
Test Engineering IT
Office: (905) 632-2999 x2103
Email: Shane.Boyce@gennum.com<mailto:Shane.Boyce@gennum.com>
Web: www.gennum.com<http://www.gennum.com/>
[cid:image001.jpg@01C91986.8377D330]
Show quoted text________________________________
This communication contains confidential information intended only for the addressee(s). If you have received this communication in error, please notify us immediately and delete this communication from your mail box.
Message body is not shown because it is too large.