mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-20 15:21:21 -06:00
Merged with dev
This commit is contained in:
commit
0235f1a821
1491 changed files with 514153 additions and 29226 deletions
|
@ -6,16 +6,9 @@ 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();
|
||||
};
|
||||
is $@, "xspp_test_croak_hangs_on_strawberry: exception catched\n", 'croak from inside a C++ exception delivered';
|
||||
}
|
||||
eval {
|
||||
Slic3r::xspp_test_croak_hangs_on_strawberry();
|
||||
};
|
||||
is $@, "xspp_test_croak_hangs_on_strawberry: exception catched\n", 'croak from inside a C++ exception delivered';
|
||||
|
||||
__END__
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue