From 7dafeb2bc8748d9fc9334740322bc162250d0051 Mon Sep 17 00:00:00 2001 From: Houtan Bastani Date: Mon, 24 Oct 2016 12:56:26 +0200 Subject: [PATCH] test suite: fix bug introduced in f5f71ca8387f9e7d98b171a8112ddbc4f8abeac8 --- tests/run_all_unitary_tests.m | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/run_all_unitary_tests.m b/tests/run_all_unitary_tests.m index c48e9df2c..9dab829b9 100644 --- a/tests/run_all_unitary_tests.m +++ b/tests/run_all_unitary_tests.m @@ -15,15 +15,15 @@ % You should have received a copy of the GNU General Public License % along with Dynare. If not, see . -if isoctave - load_octave_packages -end - top_test_dir = getenv('TOP_TEST_DIR'); addpath(top_test_dir); addpath([top_test_dir filesep '..' filesep 'matlab']); dynare_config([], 0); +if isoctave + load_octave_packages +end + % Test Dynare Version if ~strcmp(dynare_version(), getenv('DYNARE_VERSION')) error('Incorrect version of Dynare is being tested')