Fixed bug related to the presence of temporary files (begining with .#) in a folder.

time-shift
Stéphane Adjemian (Charybdis) 2013-07-04 15:35:55 +02:00
parent 4913413896
commit 6bfda327b3
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ for f=1:length(listoffiles)
info = run_unitary_tests(listoffiles{f});
report = [report; info];
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})
disp(['***** Process unitary tests in ' listoffiles{f}])
[check, info] = mtest(listoffiles{f});