summaryrefslogtreecommitdiff
path: root/Examples/octave
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2014-10-09 19:33:58 +0100
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2014-10-09 19:33:58 +0100
commitbfa3d378eccd3817d39db44055f05600008340f4 (patch)
treebceda16934c32d2e0d442dc83c95def694f533e2 /Examples/octave
parentb1595014e772c7ecc56b114bf994f35d75c58ba6 (diff)
downloadswig-bfa3d378eccd3817d39db44055f05600008340f4.tar.gz
Revert "Octave: drop support for Octave versions older than 3.2.0"
This reverts commit 952eee8f5904f85411d28dd375cc7df67f74b95a. Reverting a series of Octave commits for re-applying again without incorrect whitespace changes.
Diffstat (limited to 'Examples/octave')
-rw-r--r--Examples/octave/module_load/runme.m6
1 files changed, 6 insertions, 0 deletions
diff --git a/Examples/octave/module_load/runme.m b/Examples/octave/module_load/runme.m
index 758df9c93..bc311b5e6 100644
--- a/Examples/octave/module_load/runme.m
+++ b/Examples/octave/module_load/runme.m
@@ -61,6 +61,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
+
# load module with no cvar
clear all;
swigexample2;