test suite: use dynare_config instead of calling dynare on non_existant_mod_file.mod to set up paths
parent
46cdaf8e0a
commit
764d2e6ba5
|
@ -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 ***']);
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue