mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-01 04:21:59 +08:00
put the exception test back to the way it was (and it PASSES :D)
This commit is contained in:
parent
acda91322c
commit
840cd2eda0
@ -8,10 +8,7 @@ use Test::More tests => 1;
|
|||||||
|
|
||||||
{
|
{
|
||||||
eval {
|
eval {
|
||||||
local $SIG{ALRM} = sub { die "Timed out waiting for exception\n" }; # NB: \n required
|
|
||||||
alarm 30;
|
|
||||||
Slic3r::xspp_test_croak_hangs_on_strawberry();
|
Slic3r::xspp_test_croak_hangs_on_strawberry();
|
||||||
alarm 0;
|
|
||||||
};
|
};
|
||||||
is $@, "xspp_test_croak_hangs_on_strawberry: exception catched\n", 'croak from inside a C++ exception delivered';
|
is $@, "xspp_test_croak_hangs_on_strawberry: exception catched\n", 'croak from inside a C++ exception delivered';
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user