Skip Menu |

This queue is for tickets about the Test-Warn CPAN distribution.

Report information
The Basics
Id: 42070
Status: patched
Priority: 0/
Queue: Test-Warn

People
Owner: bigj [...] kamelfreund.de
Requestors: PERRAD [...] cpan.org
Cc:
AdminCc:

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



Subject: doesn't work with warn from XS code
I don't know if it's a bug or undocumented limitation. But Test::Warn doesn't catch warn from XS code. See from example in module re::engine::Lua - t/flags.t : one TODO test - Lua.xs line #328 warn() call
I took a look at this, and couldn't find why it's not working. Copied the issue to GitHub for more visibility with some details. https://github.com/hanfried/test-warn/issues/1 On Wed Dec 31 13:31:28 2008, PERRAD wrote: Show quoted text
> > I don't know if it's a bug or undocumented limitation. > But Test::Warn doesn't catch warn from XS code. > > See from example in module re::engine::Lua > - t/flags.t : one TODO test > - Lua.xs line #328 warn() call >
I added in version 0.34 (look to https://github.com/hanfried/test-warn/commit/21c5eddc43235f1a3ea32eca181ba096b2ed6983) a note that XS warnings might not be caught. If you provide me a standalone/test script demonstrating the problem I might try to fix it, allthough I won't promise anything - it's 15 years ago that I worked with XS. Obviously, I welcome any PR. I've uploaded the new version to PAUSE, might need some hours to be distributed.
Subject: Test-Warn-0.34.tar.gz
Download Test-Warn-0.34.tar.gz
application/gzip 11.5k

Message body not shown because it is not plain text.