Skip to content
Snippets Groups Projects
Commit c09e6fab authored by Houtan Bastani's avatar Houtan Bastani
Browse files

remove unused file

(cherry picked from commit 25d59148)
parent 6676a2a6
No related branches found
No related tags found
No related merge requests found
function run_test()
test_files = {
'.' 'ramst';
'.' 'ramst_a';
'.' 'example1';
'.' 'example2';
'.' 't_sgu_ex1';
'arima' 'mod1';
'arima' 'mod1a';
'arima' 'mod1b';
'arima' 'mod1c';
'arima' 'mod2';
'arima' 'mod2a';
'arima' 'mod2b';
'arima' 'mod2c';
'fs2000' 'fs2000';
'fs2000' 'fs2000a';
}
results = cell(length(test_files),1);
for i=1:length(test_files)
results{i}= run_test1(test_files{i,1},test_files{i,2});
end
for i=1:length(test_files)
disp(test_files{i,2})
disp(results{i})
end
function msg=run_test1(path1,mod_file)
global options_
clear options_
old_path = pwd;
cd(path1);
msg = 'OK';
expr = ['disp(''error in ' mod_file ''');msg=lasterr;disp(msg)'];
eval(['dynare ' mod_file ' noclearall'],'eval(expr)');
cd(old_path)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment