Re: make test error with Sybperl 2.18
[email protected] Tue, 7 Oct 2008 10:26:42 +0200
| Newsgroups | gmane.comp.lang.perl.modules.dbi.sybase |
|---|---|
| Message-ID | <OF88F0230E.EA7E81BF-ONC12574DB.002E4C87-C12574DB.002E639A@jpmchase.com> |
Hi, Could you please run the tests that fail on their own: perl -Mblib t/3_bcp.t and send me the output? Thanks, Michael "Nugent, Jerry Michael (HP Labs)" <[email protected]> Sent by: [email protected] 10/06/2008 07:38 PM To "[email protected]" <[email protected]> cc Subject make test error with Sybperl 2.18 I'm new to Sybperl and currently experiencing problems with make test. Environment Sybase ASE 12.5.3 HP-UX 11.11 Perl 5.8.8 Output of make test (fails on bcp): : jerrynsu@philo /backup/software/perlmodules/sybperl-2.18 ; make test PERL_DL_NONLAZY=1 /opt/hpl/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/1_db_dblib........... t/1_db_dblib...........ok 1/22 t/1_db_dblib...........ok t/1_db_money........... t/1_db_money...........ok 1/13 t/1_db_money...........ok t/2_ct_ctlib........... t/2_ct_ctlib...........ok 1/30 t/2_ct_ctlib...........ok t/2_ct_cursor.......... t/2_ct_cursor..........ok 1/22 t/2_ct_cursor..........ok t/2_ct_nsql............ t/2_ct_nsql............ok 1/4 t/2_ct_nsql............ok t/2_ct_prepare......... t/2_ct_prepare.........ok 1/15 t/2_ct_prepare.........ok t/2_ct_xblk............ t/2_ct_xblk............ok 1/21 t/2_ct_xblk............ok t/3_bcp................Sybase message 102, Severity 15, state 1 Server `PHILO_SYBASE' Line 1 Incorrect syntax near '12'. 1> if object_id('password..bcp') != NULL drop table password..bcp Sybase message 102, Severity 15, state 1 Server `PHILO_SYBASE' Line 1 Incorrect syntax near '12'. 1> create table password..bcp(f1 char(5), f2 int, f3 text) lock allpages Sybase message 102, Severity 15, state 1 Server `PHILO_SYBASE' Line 3 Incorrect syntax near '12'. 1> 2> select c.name, t.name 3> from password.dbo.syscolumns c, password.dbo.systypes t 4> where c.id = object_id('password..bcp') 5> and c.usertype *= t.usertype Can't use an undefined value as an ARRAY reference at /backup/software/perlmodules/sybperl-2.18/blib/lib/Sybase/BCP.pm line 413. t/3_bcp................ok 1/9 t/3_bcp................NOK 3/9 t/3_bcp................dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 3, 5-9 Failed 6/9 tests, 33.33% okay t/4_blk................ t/4_blk................ok 1/19 Server message: Message number: 102, Severity 15, State 1, Line 1 Server 'PHILO_SYBASE' Message String: Incorrect syntax near '12'. Server message: Message number: 102, Severity 15, State 1, Line 1 Server 'PHILO_SYBASE' Message String: Incorrect syntax near '12'. Server message: Message number: 102, Severity 15, State 1, Line 3 Server 'PHILO_SYBASE' Message String: Incorrect syntax near '12'. Server message: Message number: 102, Severity 15, State 1, Line 1 Server 'PHILO_SYBASE' Message String: Incorrect syntax near '12'. Open Client Message: Message number: LAYER = (0) ORIGIN = (0) SEVERITY = (0) NUMBER = (0) Message String: blk_init(): blk layer: CT library error: Failed when CT_Lib routine ct_results() called. blk_init failed. at t/4_blk.t line 38 t/4_blk................dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 5-19 Failed 15/19 tests, 21.05% okay t/5_sybperl............ t/5_sybperl............ok 1/28 t/5_sybperl............ok t/5_sybperl_dbmoney.... t/5_sybperl_dbmoney....ok 1/32 t/5_sybperl_dbmoney....ok Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------------------------------------------------------------------------------------ t/3_bcp.t 255 65280 9 11 3 5-9 t/4_blk.t 255 65280 19 30 5-19 Failed 2/11 test scripts. 21/215 subtests failed. Files=11, Tests=215, 5 wallclock secs ( 3.24 cusr + 0.54 csys = 3.78 CPU) Failed 2/11 test programs. 21/215 subtests failed. *** Error exit code 255 Stop. Any ideas? Just let me know if you need more information. Jerry ======================================== Jerry Nugent HP Labs Research Library Phone: 650-857-3203 Mailto:[email protected] ========================================= ----------------------------------------- This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. All market prices, data and other information are not warranted as to completeness or accuracy and are subject to change without notice. Any comments or statements made herein do not necessarily reflect those of JPMorgan Chase & Co., its subsidiaries and affiliates. This transmission may contain information that is privileged, confidential, legally privileged, and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. Although this transmission and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free and no responsibility is accepted by JPMorgan Chase & Co., its subsidiaries and affiliates, as applicable, for any loss or damage arising in any way from its use. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. Please refer to http://www.jpmorgan.com/pages/disclosures for disclosures relating to UK legal entities.