Fixed bug related to the path to the testes routine.
parent
40329e3e29
commit
100ff94644
|
@ -52,10 +52,12 @@ function dynTest(fun,dynare_path)
|
|||
|
||||
original_directory = pwd();
|
||||
|
||||
cd([dynare_path filesep '..' filesep 'tests']);
|
||||
|
||||
[pathstr1, name1, ext1] = fileparts(fun);
|
||||
|
||||
pathstr1 = [original_directory filesep pathstr1];
|
||||
|
||||
cd([dynare_path filesep '..' filesep 'tests']);
|
||||
|
||||
mex_flag = 0;
|
||||
if exist(name1)==3
|
||||
mex_flag = 1;
|
||||
|
|
Loading…
Reference in New Issue