Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perl 5.36 cpan | tests fail for Win32API::Registry #66

Closed
shawnlaffan opened this issue Mar 11, 2023 · 4 comments
Closed

perl 5.36 cpan | tests fail for Win32API::Registry #66

shawnlaffan opened this issue Mar 11, 2023 · 4 comments

Comments

@shawnlaffan
Copy link
Contributor

Test log below.

The first failure is at https://github.com/chorny/Win32API-Registry/blob/450c70cfcd6a3cf373da528ba292c023544d5617/t/test.t#L80-L82, after which the code dies.

This could be an issue with docker, or the test expectations need to be updated under docker. If I copy /c/strawberry dir to my local machine as C:\strawberry and add a portableshell.bat then all tests pass under cpanm --look.

t\test.t ..
1..216
Can't find key with values:  No more data is available
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok 9
ok 10
Dubious, test returned 25 (wstat 6400, 0x1900)
Failed 206/216 subtests

Test Summary Report
-------------------
t\test.t (Wstat: 6400 (exited 25) Tests: 10 Failed: 0)
  Non-zero exit status: 25
  Parse errors: Bad plan.  You planned 216 tests but ran 10.
Files=1, Tests=10,  0 wallclock secs ( 0.06 usr +  0.01 sys =  0.08 CPU)
Result: FAIL
@shawnlaffan
Copy link
Contributor Author

Same case for Win32::TieRegistry - fails under docker, passes on local machine.

@shawnlaffan
Copy link
Contributor Author

This has knock-on effects for DateTime, DateTime::Format::DateParse and DateTime::TimeZone::Local::Win32.

@shawnlaffan
Copy link
Contributor Author

shawnlaffan commented Mar 13, 2023

Win32::TieRegistry was a knock-on effect. It passes when Win32API::Registry is built with skipped tests.

shawnlaffan added a commit that referenced this issue Mar 13, 2023
…o not build

Devel::Declare is deprecated.  #70

CPANPLUS fails to build locally, disable for now.  #64

Alien::Libxml2: set PKG_CONFIG_DIR. #71

Other test files are disabled on a per file basis.
Most of these pass on a local copy of the build.
Includes #65, #66, #67, #68 and #73
@shawnlaffan
Copy link
Contributor Author

Side-stepped by not running tests, given it works on a local machine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant