timbunce / devel-nytprof

Devel::NYTProf is a powerful feature-rich source code profiler for Perl. (Mostly in maintenance mode, so PRs are much more likely to be acted upon than Issues.)
http://blog.timbunce.org/tag/nytprof/
67 stars 51 forks source link

Update test expectations for strawberry perl portable #123

Closed shawnlaffan closed 6 years ago

shawnlaffan commented 6 years ago

Strawberry perl portable versions return different eval IDs, presumably due to some eval calls prior to the profile start.

For example, '(eval 5)[-:1]' is returned instead of '(eval 1)[-:1]'.

The changes in this PR update the tests to identify when this happens, and then correct for it.

Has no effect on non-portable perls.

Updates #76 and #94

timbunce commented 6 years ago

Thanks @shawnlaffan!