2023-09-12 12:39:26 +02:00
|
|
|
## Copyright © 2013-2023 Dynare Team
|
2013-06-24 15:19:56 +02:00
|
|
|
##
|
|
|
|
## This file is part of Dynare.
|
|
|
|
##
|
|
|
|
## Dynare is free software: you can redistribute it and/or modify
|
|
|
|
## it under the terms of the GNU General Public License as published by
|
|
|
|
## the Free Software Foundation, either version 3 of the License, or
|
|
|
|
## (at your option) any later version.
|
|
|
|
##
|
|
|
|
## Dynare is distributed in the hope that it will be useful,
|
|
|
|
## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
## GNU General Public License for more details.
|
|
|
|
##
|
|
|
|
## You should have received a copy of the GNU General Public License
|
2021-06-09 17:33:48 +02:00
|
|
|
## along with Dynare. If not, see <https://www.gnu.org/licenses/>.
|
2013-06-24 15:19:56 +02:00
|
|
|
|
2023-09-20 13:07:30 +02:00
|
|
|
source_dir = getenv('source_root');
|
|
|
|
addpath([source_dir filesep 'tests' filesep 'utils']);
|
|
|
|
addpath([source_dir filesep 'matlab']);
|
2013-06-24 15:19:56 +02:00
|
|
|
|
2023-09-12 12:39:26 +02:00
|
|
|
load_octave_packages
|
|
|
|
|
2016-10-24 11:39:54 +02:00
|
|
|
## To add default directories, empty dseries objects
|
2019-09-03 11:19:46 +02:00
|
|
|
dynare_config();
|
2013-06-24 15:19:56 +02:00
|
|
|
|
|
|
|
printf("\n*** TESTING: run_reporting_test_octave.m ***\n");
|
|
|
|
try
|
2023-09-20 13:07:30 +02:00
|
|
|
cd reporting
|
2013-10-18 17:56:18 +02:00
|
|
|
db_a = dseries('db_a.csv');
|
|
|
|
db_q = dseries('db_q.csv');
|
|
|
|
dc_a = dseries('dc_a.csv');
|
|
|
|
dc_q = dseries('dc_q.csv');
|
2013-06-24 15:19:56 +02:00
|
|
|
runDynareReport(dc_a, dc_q, db_a, db_q);
|
|
|
|
testFailed = false;
|
|
|
|
catch
|
|
|
|
testFailed = true;
|
|
|
|
end
|
|
|
|
|
2023-09-20 13:07:30 +02:00
|
|
|
quit(testFailed)
|
2013-06-24 15:19:56 +02:00
|
|
|
|
|
|
|
## Local variables:
|
|
|
|
## mode: Octave
|
|
|
|
## End:
|