mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 10:45:08 +02:00
* Only convert the classname in the filename of a unit-test to lowercase and not the whole path
git-svn-id: trunk@9896 -
This commit is contained in:
parent
efa0484979
commit
309106e9f1
@ -288,7 +288,7 @@ begin
|
||||
path := '.';
|
||||
end;
|
||||
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
|
||||
FileName := FileName + '.pas'
|
||||
else if FileExists(FileName+'.pp') then
|
||||
|
Loading…
Reference in New Issue
Block a user