Octave testsuite: fix for compatibility with Octave <= 3.0.1

git-svn-id: https://www.dynare.org/svn/dynare/trunk@2946 ac1d8469-bf42-47a9-8791-bf33cf982152
time-shift
sebastien 2009-09-18 08:46:23 +00:00
parent 612cf9fa9b
commit 7ab6f19bbc
1 changed files with 4 additions and 1 deletions

View File

@ -19,7 +19,10 @@
## Second argument is path to Dynare installation to be checked
## Third argument is Dynare version to be checked
setenv("GNUTERM", "dumb") # Ask gnuplot to create graphics in text mode
## Ask gnuplot to create graphics in text mode
## Note that setenv() was introduced in Octave 3.0.2, for compatibility
## with MATLAB
putenv("GNUTERM", "dumb")
[directory, name, ext] = fileparts(argv(){1});