Finished the SLIC3R_HAS_BROKEN_CROAK magic.

This commit is contained in:
bubnikv 2016-11-08 10:59:43 +01:00
parent eb61373b69
commit 2e53c06159
2 changed files with 7 additions and 1 deletions

View file

@ -6,6 +6,11 @@ use warnings;
use Slic3r::XS;
use Test::More tests => 1;
if ($ENV{SLIC3R_HAS_BROKEN_CROAK})
{
ok 1, 'SLIC3R_HAS_BROKEN_CROAK set, croaks and confesses from a C++ code will lead to an application exit!';
}
else
{
eval {
Slic3r::xspp_test_croak_hangs_on_strawberry();