Browse Source

* Only convert the classname in the filename of a unit-test to lowercase and not the whole path

git-svn-id: trunk@9896 -
joost 17 years ago
parent
commit
309106e9f1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/utils/dbtests.pp

+ 1 - 1
tests/utils/dbtests.pp

@@ -288,7 +288,7 @@ begin
     path := '.';
     path := '.';
     end;
     end;
   if upper(ClassName[1])<>'T' then exit;
   if upper(ClassName[1])<>'T' then exit;
-  FileName := lowercase(TestSrcDir+RelSrcDir+Path+DirectorySeparator+copy(ClassName,2,length(classname)));
+  FileName := TestSrcDir+RelSrcDir+Path+DirectorySeparator+copy(lowercase(ClassName),2,length(classname));
   if FileExists(FileName+'.pas') then
   if FileExists(FileName+'.pas') then
     FileName := FileName + '.pas'
     FileName := FileName + '.pas'
   else if FileExists(FileName+'.pp') then
   else if FileExists(FileName+'.pp') then