Skip to content
Snippets Groups Projects
Verified Commit e81c837c authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Testsuite: fix engine for testing M scripts

I’m not sure it has ever worked.

As a consequence, remove the workaround that had apparently been implemented in
tests/initval_file/ramst_initval_file.mod.
parent b8a92046
Branches
Tags
No related merge requests found
......@@ -40,6 +40,7 @@ checksum
# Make Check Rules
*.trs
*.tls
# Doc rules
*.pdf
......
......@@ -22,12 +22,6 @@ k = ((delt+bet)/(1.0*aa*alph))^(1/(alph-1));
c = aa*k^alph-delt*k;
end;
initval_file(filename = ramst_initval_file_data);
steady;
perfect_foresight_setup(periods=200);
perfect_foresight_solver;
initval_file(filename = ramst_initval_file_data_row_vec_mat);
steady;
perfect_foresight_setup(periods=200);
......
% Copyright (C) 2015 Dynare Team
% Copyright (C) 2015-2019 Dynare Team
%
% This file is part of Dynare.
%
......@@ -24,7 +24,7 @@ addpath([top_test_dir filesep 'utils']);
cd(directory);
try
mscript;
eval(mscript);
testFailed = false;
catch exception
printMakeCheckMatlabErrMsg(strtok(getenv('FILESTEM')), exception);
......@@ -51,4 +51,4 @@ else
fprintf(fid,':list-of-passed-tests: %s\n', [name '.m']);
end
fclose(fid);
exit;
\ No newline at end of file
exit;
## Copyright (C) 2015-2016 Dynare Team
## Copyright (C) 2015-2019 Dynare Team
##
## This file is part of Dynare.
##
......@@ -26,7 +26,7 @@ addpath([top_test_dir filesep 'utils']);
cd(directory);
try
mscript;
eval(mscript);
testFailed = false;
catch
printMakeCheckOctaveErrMsg(getenv('FILESTEM'), lasterror);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment