summaryrefslogtreecommitdiff
path: root/Examples/test-suite/octave
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2013-04-08 18:30:16 +0100
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2013-04-08 18:32:33 +0100
commitdd2cd0298c39d9546f68ff538f5c90634e5a0106 (patch)
tree160e5f3a5f053fa84307057475961b1d08c570d9 /Examples/test-suite/octave
parent5ae6ff404d8a7d4c17a260a6f2cae7c8959152f7 (diff)
downloadswig-dd2cd0298c39d9546f68ff538f5c90634e5a0106.tar.gz
Work around Octave seg fault on exit in imports testcase on Octave 3.1 and 3.2
Diffstat (limited to 'Examples/test-suite/octave')
-rw-r--r--Examples/test-suite/octave/imports_runme.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/Examples/test-suite/octave/imports_runme.m b/Examples/test-suite/octave/imports_runme.m
index be9db5919..5db38071b 100644
--- a/Examples/test-suite/octave/imports_runme.m
+++ b/Examples/test-suite/octave/imports_runme.m
@@ -1,7 +1,8 @@
# This is the import runtime testcase.
-imports_b;
+# If imports_b is loaded before imports_a, a seg fault occurred during interpreter cleanup/exit in version 3.1 and 3.2, seems okay in 3.6
imports_a;
+imports_b;
x = imports_b.B();
x.hello();