This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
In APItest.xs, augment croak("fail") with the file name and line number.
authorNicholas Clark <nick@ccl4.org>
Tue, 12 Oct 2010 19:41:36 +0000 (20:41 +0100)
committerNicholas Clark <nick@ccl4.org>
Tue, 12 Oct 2010 19:41:36 +0000 (20:41 +0100)
commit11f9f0eda0026b9120e2ceb1b15c72667d1c91ac
tree767035509496dd77ff7c47e8fd4ecabb5982fb48
parentf84ff042dab5dfcde5d88d3ad4b28d1416321e65
In APItest.xs, augment croak("fail") with the file name and line number.

With this, it should be possible to determine which C condition failed without
needing to run the test under a debugger. A debugger may still be needed to
determine *why*.
ext/XS-APItest/APItest.xs