diff options
author | Karl Wette <karl.wette@ligo.org> | 2017-01-01 19:06:51 +1300 |
---|---|---|
committer | Karl Wette <karl.wette@ligo.org> | 2017-01-01 19:06:51 +1300 |
commit | 9e66af3fefa07fad0103f97eef8e1dc86b3498ba (patch) | |
tree | c4beed07815b8d0889fc7b26be50ce9ed5ffb8a7 /Examples/test-suite/octave/overload_extend_c_runme.m | |
parent | 70801d47d10deb477633a4c6421fbbba6f0ea8d7 (diff) | |
download | swig-9e66af3fefa07fad0103f97eef8e1dc86b3498ba.tar.gz |
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
Diffstat (limited to 'Examples/test-suite/octave/overload_extend_c_runme.m')
-rw-r--r-- | Examples/test-suite/octave/overload_extend_c_runme.m | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Examples/test-suite/octave/overload_extend_c_runme.m b/Examples/test-suite/octave/overload_extend_c_runme.m index aa6bb5b5b..79b92ca47 100644 --- a/Examples/test-suite/octave/overload_extend_c_runme.m +++ b/Examples/test-suite/octave/overload_extend_c_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_c f = overload_extend_c.Foo(); |