mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-20 15:21:21 -06:00
Unit test to verify whether Slic3r would hang when croaking from
a C++ exception handler. This is an unfortunate error in some Strawberry Perl distributions.
This commit is contained in:
parent
e9e55e7ac3
commit
aac968162b
3 changed files with 25 additions and 0 deletions
|
@ -28,4 +28,12 @@ FORK_NAME()
|
|||
RETVAL = newSVpv(SLIC3R_FORK_NAME, 0);
|
||||
OUTPUT: RETVAL
|
||||
|
||||
void
|
||||
xspp_test_croak_hangs_on_strawberry()
|
||||
CODE:
|
||||
try {
|
||||
throw 1;
|
||||
} catch (...) {
|
||||
croak("xspp_test_croak_hangs_on_strawberry: exception catched\n");
|
||||
}
|
||||
%}
|
Loading…
Add table
Add a link
Reference in a new issue