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')