- If Octave segfaults during cleanup, it usually cannot dump its core and therefore just freezes, which hold up e.g Travis build jobs
18 lines
271 B
Mathematica
18 lines
271 B
Mathematica
# do not dump Octave core
|
|
if exist("crash_dumps_octave_core", "builtin")
|
|
crash_dumps_octave_core(0);
|
|
endif
|
|
|
|
enum_template
|
|
|
|
if (enum_template.MakeETest() != 1)
|
|
error
|
|
endif
|
|
|
|
enum_template.TakeETest(0);
|
|
try
|
|
a=enum_template.TakeETest(0);
|
|
error
|
|
catch
|
|
end_try_catch
|
|
|