- If Octave segfaults during cleanup, it usually cannot dump its core and therefore just freezes, which hold up e.g Travis build jobs
29 lines
394 B
Objective-C
29 lines
394 B
Objective-C
# do not dump Octave core
|
|
if exist("crash_dumps_octave_core", "builtin")
|
|
crash_dumps_octave_core(0);
|
|
endif
|
|
|
|
multi_import_a;
|
|
multi_import_b;
|
|
|
|
x = multi_import_b.XXX();
|
|
if (x.testx() != 0)
|
|
error
|
|
endif
|
|
|
|
y = multi_import_b.YYY();
|
|
if (y.testx() != 0)
|
|
error
|
|
endif
|
|
if (y.testy() != 1)
|
|
error
|
|
endif
|
|
|
|
z = multi_import_a.ZZZ();
|
|
if (z.testx() != 0)
|
|
error
|
|
endif
|
|
if (z.testz() != 2)
|
|
error
|
|
endif
|
|
|