tests: improved searching for test directories

git-svn-id: trunk@10542 -
This commit is contained in:
vincents 2007-01-30 23:31:27 +00:00
parent 2bdbe6f91c
commit 85bf638910
2 changed files with 1 additions and 3 deletions

View File

@ -186,7 +186,6 @@ begin
CreateWithName(ATestName);
FPath := APath;
FProjectFile := FindProjectFile(FPath);
writeln(FProjectFile);
end;
class function TBugTestCase.CreateSuite(Path: string): TTestSuite;
@ -209,7 +208,7 @@ begin
ProgPath := ExtractFilePath(ParamStr(0));
if FindFirst(ProgPath+'*', faAnyFile, SearchRec)=0 then
repeat
if (SearchRec.Attr=faDirectory) and
if (SearchRec.Attr and (faDirectory + faHidden)=faDirectory) and
(SearchRec.Name<>'.') and (SearchRec.Name<>'..')
then
GetTestRegistry.AddTest(

View File

@ -14,7 +14,6 @@
</VersionInfo>
<PublishOptions>
<Version Value="2"/>
<IgnoreBinaries Value="False"/>
<IncludeFileFilter Value="*.(pas|pp|inc|lfm|lpr|lrs|lpi|lpk|sh|xml)"/>
<ExcludeFileFilter Value="*.(bak|ppu|ppw|o|so);*~;backup"/>
</PublishOptions>