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

remove unused file

parent d7a3504b
Branches
Tags
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