Skip to content

tests fail with PDL 2.099 #3

@shawnlaffan

Description

@shawnlaffan

A recent change to PDL makes calls to upd_data an error if the lengths do not match.
PDLPorters/pdl@5f6c93b

Tested with Strawberry perl 5.40.1 (dev version) and 5.32.1.

Building and testing PDL-IO-DBI-0.012 ... cp lib/PDL/IO/DBI.pm blib\lib\PDL\IO\DBI.pm
"C:\strawberry\perl\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\lib', 'blib\arch')" t/*.t
t/compile.t ........ ok
t/db-odbc-mssql.t .. skipped: PDL_IO_DBI_ODBC_MSSQL_TEST_DSN not set
t/db-postgresql.t .. skipped: PDL_IO_DBI_PG_TEST_DSN not set
# no PDL::DateTime
t/db-sqlite.t ...... ok
Trying to upd_data but datasv now length 20 instead of 0 at C:\strawberry_build\env\AppDataRoaming\.cpanm\work\1737637280.6864\PDL-IO-DBI-0.012\blib\lib/PDL/IO/DBI.pm line 188.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 2 just after 37.
t/reuse_sth.t ......
Dubious, test returned 2 (wstat 512, 0x200)
All 37 subtests passed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions