From 9e66af3fefa07fad0103f97eef8e1dc86b3498ba Mon Sep 17 00:00:00 2001 From: Karl Wette Date: Sun, 1 Jan 2017 19:06:51 +1300 Subject: Octave: do not dump Octave core in examples/test suite scripts - If Octave segfaults during cleanup, it usually cannot dump its core and therefore just freezes, which hold up e.g Travis build jobs --- Examples/test-suite/octave/overload_extend_runme.m | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Examples/test-suite/octave/overload_extend_runme.m') diff --git a/Examples/test-suite/octave/overload_extend_runme.m b/Examples/test-suite/octave/overload_extend_runme.m index 42c79388f..d9959804f 100644 --- a/Examples/test-suite/octave/overload_extend_runme.m +++ b/Examples/test-suite/octave/overload_extend_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + overload_extend f = overload_extend.Foo(); -- cgit v1.2.1