Fixed bug related to the presence of temporary files (begining with .#) in a folder.
parent
4913413896
commit
6bfda327b3
|
@ -24,7 +24,7 @@ for f=1:length(listoffiles)
|
||||||
info = run_unitary_tests(listoffiles{f});
|
info = run_unitary_tests(listoffiles{f});
|
||||||
report = [report; info];
|
report = [report; info];
|
||||||
else
|
else
|
||||||
if isequal(listoffiles{f}(end-1:end),'.m') && ~isequal(listoffiles{f}(1:2),'.#')
|
if isequal(listoffiles{f}(end-1:end),'.m') && isempty(strfind(listoffiles{f},'.#'))
|
||||||
if is_unitary_test_available(listoffiles{f})
|
if is_unitary_test_available(listoffiles{f})
|
||||||
disp(['***** Process unitary tests in ' listoffiles{f}])
|
disp(['***** Process unitary tests in ' listoffiles{f}])
|
||||||
[check, info] = mtest(listoffiles{f});
|
[check, info] = mtest(listoffiles{f});
|
||||||
|
|
Loading…
Reference in New Issue