- If Octave segfaults during cleanup, it usually cannot dump its core and therefore just freezes, which hold up e.g Travis build jobs
13 lines
200 B
Objective-C
13 lines
200 B
Objective-C
# do not dump Octave core
|
|
if exist("crash_dumps_octave_core", "builtin")
|
|
crash_dumps_octave_core(0);
|
|
endif
|
|
|
|
using_protected
|
|
|
|
f = FooBar();
|
|
f.x = 3;
|
|
|
|
if (f.blah(4) != 4)
|
|
error("blah(int)")
|
|
endif
|