test suite: use dynare_config instead of calling dynare on non_existant_mod_file.mod to set up paths

time-shift
Houtan Bastani 2016-10-24 11:39:54 +02:00
parent 46cdaf8e0a
commit 764d2e6ba5
2 changed files with 5 additions and 11 deletions

View File

@ -1,4 +1,4 @@
% Copyright (C) 2013 Dynare Team
% Copyright (C) 2013-2016 Dynare Team
%
% This file is part of Dynare.
%
@ -24,11 +24,8 @@ if ~strcmp(dynare_version(), getenv('DYNARE_VERSION'))
error('Incorrect version of Dynare is being tested')
end
try
% To add default directories
dynare('non_existant_mod_file.mod', 'console');
catch
end
% To add default directories, empty dseries objects
dynare_config
disp('');
disp(['*** TESTING: run_reporting_test_matlab.m ***']);

View File

@ -31,11 +31,8 @@ endif
## with MATLAB
putenv("GNUTERM", "dumb")
try
## To add default directories
dynare('non_existant_mod_file.mod', 'console');
catch
end
## To add default directories, empty dseries objects
dynare_config
printf("\n*** TESTING: run_reporting_test_octave.m ***\n");
try