octave: export function swig_octave_prereq() for easily testing Octave version
This commit is contained in:
parent
9f82bcee2a
commit
b93b1871a9
2 changed files with 23 additions and 4 deletions
|
|
@ -61,9 +61,8 @@ 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
|
||||
# octave 3.0.5 randomly crashes on the remaining tests
|
||||
if !swig_octave_prereq(3,2,0)
|
||||
exit
|
||||
endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue