From fa1746f02260737325f80c4927f4903a9c235143 Mon Sep 17 00:00:00 2001 From: sebastien Date: Tue, 15 Sep 2009 16:49:39 +0000 Subject: [PATCH] Testsuite for Octave: move definition of Gnuplot terminal to Octave script git-svn-id: https://www.dynare.org/svn/dynare/trunk@2924 ac1d8469-bf42-47a9-8791-bf33cf982152 --- tests/Makefile.am | 2 +- tests/run_test_octave.m | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index 6e93fab8d..d13874fb1 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -41,7 +41,7 @@ check-local: $(TARGETS) check-octave: $(OCTAVE_MODS) @set -e; \ for modfile in $(OCTAVE_MODS); do \ - GNUTERM=dumb $(OCTAVE) --norc --silent --no-history run_test_octave.m $$modfile $(DYNARE_ROOT) $(PACKAGE_VERSION); \ + $(OCTAVE) --norc --silent --no-history run_test_octave.m $$modfile $(DYNARE_ROOT) $(PACKAGE_VERSION); \ done .PHONY: check-octave diff --git a/tests/run_test_octave.m b/tests/run_test_octave.m index 9c81c692a..6fbfa0b7d 100644 --- a/tests/run_test_octave.m +++ b/tests/run_test_octave.m @@ -19,6 +19,8 @@ ## 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 + [directory, name, ext] = fileparts(argv(){1}); printf("TEST: %s...\n", name)