From a276c0b45ab4afc113666b7e491a1e5be903e3ff Mon Sep 17 00:00:00 2001 From: Karl Wette Date: Thu, 24 May 2012 21:18:50 +0000 Subject: [PATCH] [octave] skip part of module_load test for older Octaves git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13115 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Examples/octave/module_load/runme.m | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Examples/octave/module_load/runme.m b/Examples/octave/module_load/runme.m index 4942a02de..16b437ee8 100644 --- a/Examples/octave/module_load/runme.m +++ b/Examples/octave/module_load/runme.m @@ -89,6 +89,12 @@ testme testme clear all +# octave 3.0.5 randomly crashes on the remaining tests, so skip them +api_version = sscanf(octave_config_info("api_version"), "api-v%i"); +if api_version < 37 + exit +endif + # access module with no cvar, no global load example2 = example2; assert(example2.ivar == example2.ifunc());