Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

errors when running tests in repository on Windows #348

Closed
chorny opened this Issue · 1 comment

2 participants

@chorny

Attribute (pid_at_test_start) does not pass the type constraint because: Validation failed for 'TB2::Positive_NonZero_Int' with value -3128 at D:\08\test-more\blib\lib/TB2/Mouse.pm line 2419.
TB2::Mouse::Meta::Attribute::throw_type_constraint_error('TB2::Mouse::Meta::Attribute=HASH(0xfd4fac)', -3128, 'TB2::Mouse::Meta::TypeConstraint=HASH(0x109546c)') called at rw-accessor for pid_at_test_start (D:\08\test-more\blib\lib/TB2/Mouse.pm) line 4
TB2::History::__ANON_
('TB2::History=HASH(0x1164b6c)', -3128) called at D:\08\test-more\blib\lib/TB2/History.pm line 175
TB2::History::handle_test_start('TB2::History=HASH(0x1164b6c)', 'TB2::Event::TestStart=HASH(0xf9c3a4)', 'TB2::EventCoordinator=HASH(0x123140c)') called at D:\08\test-more\blib\lib/TB2/EventHandler.pm line 85
TB2::EventHandler::accept_event('TB2::History=HASH(0x1164b6c)', 'TB2::Event::TestStart=HASH(0xf9c3a4)', 'TB2::EventCoordinator=HASH(0x123140c)') called at D:\08\test-more\blib\lib/TB2/EventCoordinator.pm line 234
TB2::EventCoordinator::post_event('TB2::EventCoordinator=HASH(0x123140c)', 'TB2::Event::TestStart=HASH(0xf9c3a4)') called at D:\08\test-more\blib\lib/TB2/TestState.pm line 311
TB2::TestState::post_event('TB2::TestState=HASH(0x123138c)', 'TB2::Event::TestStart=HASH(0xf9c3a4)') called at D:\08\test-more\blib\lib/Test/Builder.pm line 615
Test::Builder::test_start('Test::Builder=HASH(0x101fa94)') called at D:\08\test-more\blib\lib/Test/Builder.pm line 421
Test::Builder::expected_tests('Test::Builder=HASH(0x101fa94)', 1) called at D:\08\test-more\blib\lib/Test/Builder.pm line 391
Test::Builder::_plan_tests('Test::Builder=HASH(0x101fa94)', 1) called at D:\08\test-more\blib\lib/Test/Builder.pm line 375
Test::Builder::plan('Test::Builder=HASH(0x101fa94)', 'tests', 1) called at t/Builder/fork_with_new_stdout.t line 45
Use of uninitialized value $thing in pattern match (m//) at t/Builder/fork_with_new_stdout.t line 33.

Failed test 'TAP version from child'

at t/Builder/fork_with_new_stdout.t line 33.

undef

doesn't match '(?^:^TAP version 13)'

Use of uninitialized value $thing in pattern match (m//) at t/Builder/fork_with_new_stdout.t line 34.

Failed test ' plan'

at t/Builder/fork_with_new_stdout.t line 34.

undef

doesn't match '(?^:^1..1)'

Use of uninitialized value $thing in pattern match (m//) at t/Builder/fork_with_new_stdout.t line 35.

Failed test ' ok'

at t/Builder/fork_with_new_stdout.t line 35.

undef

doesn't match '(?^:^ok 1)'

3 tests of 3 failed.

t/Builder/fork_with_new_stdout.t ...........
Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/3 subtests

PIDs on Windows from threads (emulated fork) are negative.

Also there is a pod error:

Failed test 'POD test for blib\lib\Test\More.pm'

at C:/strawberry514/perl/site/lib/Test/Pod.pm line 182.

Wide character in print at D:\08\test-more\blib\lib/TB2/Streamer/Print.pm line 144.

blib\lib\Test\More.pm (1782): Non-ASCII character seen before =encoding in 'в__'. Assuming UTF-8

1 test of 68 failed.

t/pod.t ....................................
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/68 subtests

@schwern schwern referenced this issue from a commit
@schwern schwern Turn on UTF-8 encoding in the Test::More POD.
Needed for the "utf8 / wide character" docs.

For #348
1582fb6
@schwern
Owner
@schwern schwern referenced this issue from a commit
@schwern schwern Add tests explicitly checking PID storage works.
At Piers' chiding.

For #348
f131019
@schwern schwern closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.