Commit Graph

23 Commits (e549bbba7a96f822b8f8475041b4263467d2b609)

Author SHA1 Message Date
Sébastien Villemot e549bbba7a
Meson build system: testsuite now fully implemented
By the way, switch the CI to use the Meson testsuite, because some test files
have been modified and no longer work with the old build system.
2023-09-20 13:55:55 +02:00
Sébastien Villemot 06f665e231
Perfect foresight: LBJ now available under stack_solve_algo=1 (with/without block/bytecode)
Previously, LBJ was available:

– under stack_solve_algo=6 when neither block nor bytecode were present
– under stack_solve_algo=1 with either block or bytecode (but the documentation
  was not making it clear that it was LBJ)

This commit merges the two values for the option, and makes them
interchangeable. LBJ should now be invoked with stack_solve_algo=1 (but
stack_solve_algo=6 is kept for compatibility, and is a synonymous).
2022-06-15 15:06:33 +02:00
Sébastien Villemot 418c290ead
Octave 7 compatibility fix: rmdir() now errors out if the directory is nonexistent 2022-04-15 14:33:02 +02:00
Sébastien Villemot 10af04c6d8
Use Unicode copyright symbol (in UTF-8 encoding) in all source files
It is now supported by the MATLAB editor (as of R2022a).

The old ASCII notation is left in some files that we copy as-is from other
sources (e.g. in the contrib/ and m4/ subdirectories).

The particles submodule is not updated at this point, because it is in an
inconsistent state.

[skip ci]
2022-04-13 14:54:25 +02:00
Sébastien Villemot e49cada341
Testsuite: run_block_byte_tests_{matlab,octave}.m were not actually checking the results 2022-03-01 11:29:52 +01:00
Sébastien Villemot 63bcd2558e
Testsuite: when running Octave, use --no-window-system option rather than forcing gnuplot toolkit
In practice --no-window-system currently implies the gnuplot toolkit with dumb
terminal, but it is cleaner this way.
2022-02-23 12:13:27 +01:00
Sébastien Villemot a376d8c9fe
Fix steady state computation with bytecode+block and solve_algo ⩽ 4 or ⩾ 9
– Temporary terms were not correctly passed between blocks
– solve_algo ⩾ 9 was incorrectly passed through bytecode own’s solver instead
  of through dynare_solve
2022-02-17 17:28:37 +01:00
Sébastien Villemot 766fff88f6
Use secure URL for link to GNU licenses 2021-06-09 17:35:05 +02:00
Sébastien Villemot ee05ff6c6a
Block decomposition now compatible with 'use_dll' option 2020-06-23 15:49:27 +02:00
Sébastien Villemot bd7eb2f88d
Fixes to solve_algo ≥ 9
— allow solve_algo=9 without block nor bytecode
— allow solve_algo≥9 with block without bytecode
— test solve_algo=9
2020-05-25 17:22:17 +02:00
Sébastien Villemot b2841ff98c
Testsuite: minor simplification 2020-05-13 12:57:14 +02:00
Sébastien Villemot b73f5b7816
Compatibility fix for Octave 5
The sleep() function has been removed in favor of pause().
2019-08-22 17:03:19 +02:00
Sébastien Villemot ce70e2a9ca
Testsuite: do not add top-level tests/ directory to the MATLAB/Octave path
This directory is cluttered with so many files that it creates problem (e.g.
dynare-command-options/ramst.mod was broken under Octave because of this).

Move files that have to be found through the path in a utils/ subdirectory.
2019-02-15 18:43:20 +01:00
Sébastien Villemot d03cc56587 solve_algo=7 and stack_solve_algo=2 are now allowed under Octave
The gmres() function has been implemented (actually since Octave 3.4.1!).
2018-08-02 15:20:39 +02:00
Stéphane Adjemian (Charybdis) a53636e24e Fixed copyright notices. 2017-05-16 14:11:15 +02:00
Stéphane Adjemian (Charybdis) bc6c6fc486 Removed remaining calls or references to cputime. 2017-03-17 22:49:01 +01:00
Houtan Bastani 5c006a4370 test suite: add timing, report 10 slowest tests. #298 2015-09-11 15:21:51 +02:00
Sébastien Villemot fd9264627e Reenable test for block with stack_solve_algo=3
Closes #407
2013-06-13 11:02:15 +02:00
Sébastien Villemot f11c2f2521 Disable test with block and stack_solve_algo=3 under Octave (Ref #407) 2013-05-23 13:10:09 +02:00
Sébastien Villemot bf18eef9dd Fix mangling of lasterror() under Octave 2013-05-23 13:09:42 +02:00
Sébastien Villemot 21b75fac0d Fix incorrect reporting of failed test number 2013-05-23 13:09:00 +02:00
Houtan Bastani 76ccaac947 make check: remove unused output from test file 2012-11-07 18:13:41 +01:00
Houtan Bastani 7dbfaebf59 test suite parallelization 2012-10-12 18:13:17 +02:00