Skip Menu |
 

This queue is for tickets about the DBD-Firebird CPAN distribution.

Report information
The Basics
Id: 81621
Status: resolved
Priority: 0/
Queue: DBD-Firebird

People
Owner: Nobody in particular
Requestors: ribasushi [...] leporine.io
Cc:
AdminCc:

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



Subject: Tests massively fail if libfbembed is found and DBD::FirebirdEmbedded is built
Please consider applying the following two patches to get the embedded tests to not fail all over the place due to lack of firebird.conf: https://github.com/ribasushi/perl-dbd-firebird/compare/embed Even after these changes two tests still fail - I tried to figure out what they expect, but couldn't figure it out. Perhaps these aren't even applicable to embedded mode? t/embed-80-event-ithreads.t ..... 1/22 # Failed test at t/embed-80-event-ithreads.t line 126. # got: '1' # expected: '5' # Failed test at t/embed-80-event-ithreads.t line 140. # got: '1' # expected: '5' # Looks like you failed 2 tests of 22. t/embed-80-event-ithreads.t ..... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/22 subtests t/embed-81-event-fork.t ......... 9/17 # Failed test 'compare number of deleted rows' # at t/embed-81-event-fork.t line 113. # got: '1' # expected: '5' # Looks like you failed 1 test of 17. t/embed-81-event-fork.t ......... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/17 subtests
Download (untitled) / with headers
text/plain 4.2k
patch was applied and all tests pass ISC_PASSWORD=masterkey make test make[1]: Entering directory `/home/mariuz/work/perl-dbd-firebird/embed' make[1]: Leaving directory `/home/mariuz/work/perl-dbd-firebird/embed' PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00-base.t ..................... ok t/01-connect.t .................. # Creating test database at localhost:/tmp/dbd-fb-testdb.fdb t/01-connect.t .................. ok t/02-ib_embedded.t .............. ok t/20-createdrop.t ............... ok t/30-insertfetch.t .............. ok t/31-prepare_cached.t ........... ok t/40-alltypes.t ................. ok t/41-bindparam.t ................ ok t/42-blobs.t .................... ok t/43-cursor.t ................... ok t/44-cursoron.t ................. ok t/45-datetime.t ................. ok t/46-listfields.t ............... ok t/47-nulls.t .................... ok t/48-numeric.t .................. ok t/49-scale.t .................... ok t/50-chopblanks.t ............... ok t/51-commit.t ................... ok t/60-leaks.t .................... skipped: Long memory leak test (try with MEMORY_TEST on linux) t/61-settx.t .................... ok t/62-timeout.t .................. ok t/70-nested-sth.t ............... ok t/75-utf8.t ..................... ok t/80-event-ithreads.t ........... ok t/81-event-fork.t ............... ok t/90-dbinfo.t ................... ok t/91-txinfo.t ................... ok t/92-bigdecimal_read.t .......... ok t/93-bigdecimal.t ............... ok t/94-biginteger_read.t .......... ok t/95-biginteger.t ............... ok t/dbi-primary_key_info.t ........ ok t/dbi-rowcount.t ................ ok t/dbi-table_info.t .............. ok t/dbi-tables.t .................. ok t/embed-00-base.t ............... ok t/embed-01-connect.t ............ # Creating test database at dbd-firebird-test.fdb t/embed-01-connect.t ............ ok t/embed-02-ib_embedded.t ........ ok t/embed-20-createdrop.t ......... ok t/embed-30-insertfetch.t ........ ok t/embed-31-prepare_cached.t ..... ok t/embed-40-alltypes.t ........... ok t/embed-41-bindparam.t .......... ok t/embed-42-blobs.t .............. ok t/embed-43-cursor.t ............. ok t/embed-44-cursoron.t ........... ok t/embed-45-datetime.t ........... ok t/embed-46-listfields.t ......... ok t/embed-47-nulls.t .............. ok t/embed-48-numeric.t ............ ok t/embed-49-scale.t .............. ok t/embed-50-chopblanks.t ......... ok t/embed-51-commit.t ............. ok t/embed-60-leaks.t .............. skipped: Long memory leak test (try with MEMORY_TEST on linux) t/embed-61-settx.t .............. ok t/embed-62-timeout.t ............ ok t/embed-70-nested-sth.t ......... ok t/embed-75-utf8.t ............... ok t/embed-80-event-ithreads.t ..... ok t/embed-81-event-fork.t ......... ok t/embed-90-dbinfo.t ............. ok t/embed-91-txinfo.t ............. ok t/embed-92-bigdecimal_read.t .... ok t/embed-93-bigdecimal.t ......... ok t/embed-94-biginteger_read.t .... ok t/embed-95-biginteger.t ......... ok t/embed-dbi-primary_key_info.t .. ok t/embed-dbi-rowcount.t .......... ok t/embed-dbi-table_info.t ........ ok t/embed-dbi-tables.t ............ ok t/embed-rt49896.t ............... ok t/embed-rt54561.t ............... ok t/embed-rt55244.t ............... ok t/embed-rt72946.t ............... ok t/embed-rt76506.t ............... 1/12 # >>TEST << t/embed-rt76506.t ............... ok t/embed-zz-cleanup.t ............ 1/2 # Test database dropped t/embed-zz-cleanup.t ............ ok t/rt49896.t ..................... ok t/rt54561.t ..................... ok t/rt55244.t ..................... ok t/rt72946.t ..................... ok t/rt76506.t ..................... 1/12 # >>TEST << t/rt76506.t ..................... ok t/zz-cleanup.t .................. 1/2 # Test database dropped t/zz-cleanup.t .................. ok All tests successful. Files=82, Tests=1996, 31 wallclock secs ( 0.70 usr 0.11 sys + 7.41 cusr 0.87 csys = 9.09 CPU) Result: PASS


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.