Commit Graph

17 Commits (master)

Author SHA1 Message Date
Johannes Pfeifer 776c247b9b testsuite: use silent_optimizer option to not clutter meson log-file 2023-10-01 18:04:16 +02:00
Sébastien Villemot 6e0f104d7e
Bump minimal MATLAB version to R2014a
Ref. #1713
2020-04-07 16:32:32 +02:00
Sébastien Villemot 12d7d8cef2
Testsuite: use XLSX for Octave and MATLAB ≥ R2012a, and XLS for MATLAB < R2012a
In 98bdf76581, all XLSX files were removed in
favour of XLS, for compatibility with MATLAB R2009b.

But this broke the very same tests under Octave, since XLS support is not very
good there.

This commit implements a solution that works everywhere, by using XLSX whenever
possible, and XLS otherwise.
2019-11-19 12:49:01 +01:00
Sébastien Villemot 98bdf76581
MATLAB R2009b compatibility fixes
— use XLS instead of XLSX in testsuite datafiles
— use optimset instead of optimoptions
— use quadv/quadl/quadgk instead of integral
— fix race condition in load_m_file_data_legacy.m tests
— use fallback implementation for intersect(…, 'stable')
2019-11-15 18:27:37 +01:00
Sébastien Villemot 42392df3bc
Put binary test datafiles in the git repository
This makes the testsuite robust to network failures.
2019-09-19 14:20:00 +02:00
Houtan Bastani 38f36091a9 test suite: increase timeout option for downloading files to 30 seconds 2017-03-08 12:30:58 +01:00
Stéphane Adjemian (Charybdis) 38059daccf Added integration test. 2015-10-07 12:20:40 +02:00
Stéphane Adjemian (Lupi) 398718d48f Revert "Load xls file instead of xlsx file in tests/recursive/ls2003_bayesian_xls.mod (Octave testsuite)."
This reverts commit 0fb612fad1.
2015-06-05 17:14:20 +02:00
Stéphane Adjemian (Lupi) 0fb612fad1 Load xls file instead of xlsx file in tests/recursive/ls2003_bayesian_xls.mod (Octave testsuite). 2015-06-05 16:49:09 +02:00
Stéphane Adjemian (Karaba) 1658e5b997 Exclude recursive/ls2003_bayesian_xls.mod from testsuite if Octave version is less than 3.8 (problem for reading xls files). 2015-06-05 16:33:53 +02:00
Stéphane Adjemian (Charybdis) 8022a181c8 Removed excel data file used in ls2003_bayesian_xls.mod.
The excel data file available here:

http://www.dynare.org/Datasets/data_ca1_xls.xlsx

is downloaded by Matlab/Octave when performing the test. The file is
deleted after the estimation command.
2015-04-14 15:12:25 +02:00
Johannes Pfeifer 62f81da6dd Add unit test for recursive estimation with Excel data 2015-04-14 15:12:25 +02:00
Sébastien Villemot 02efbd31a8 Convert files to Unix EOL 2012-06-08 19:10:19 +02:00
Michel Juillard c87e208eb2 corrected test case: Octave fails on absence of user input for the
question about the list of endogenous variable to analyze in estimation
2011-10-22 09:37:40 +02:00
Michel Juillard 88be4fa3d4 fixing bug in prior_posterior_statistics.m and in recursive estimation 2011-10-21 22:06:09 +02:00
sebastien 6c185e2c6b Converted MOD test files to Unix newline convention
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3253 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-16 17:25:06 +00:00
michel 867daedd40 adding tests for recursive estimation
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2370 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-01-22 21:34:41 +00:00