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.time-shift
parent
b8a920463f
commit
e81c837c51
|
@ -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);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
% 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;
|
||||
exit;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
## 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);
|
||||
|
|
Loading…
Reference in New Issue