From 7ab6f19bbcdd654475d1403d3f9449c31aed1f0d Mon Sep 17 00:00:00 2001 From: sebastien Date: Fri, 18 Sep 2009 08:46:23 +0000 Subject: [PATCH] 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 --- tests/run_test_octave.m | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/run_test_octave.m b/tests/run_test_octave.m index 6fbfa0b7d..dc15ab086 100644 --- a/tests/run_test_octave.m +++ b/tests/run_test_octave.m @@ -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});