codetools: tests: readme

git-svn-id: trunk@50078 -
This commit is contained in:
mattias 2015-10-16 08:07:03 +00:00
parent a4af6c3a7d
commit b083361b7a
5 changed files with 34 additions and 1 deletions

2
.gitattributes vendored
View File

@ -996,6 +996,7 @@ components/codetools/tests/fdt_with.pas svneol=native#text/plain
components/codetools/tests/fdtbase.pas svneol=native#text/plain
components/codetools/tests/finddeclarationtest.lpi svneol=native#text/plain
components/codetools/tests/finddeclarationtest.lpr svneol=native#text/plain
components/codetools/tests/fpctests/README.txt svneol=native#text/plain
components/codetools/tests/fpctests/tchlp36.pp svneol=native#text/plain
components/codetools/tests/fpctests/tchlp40.pp svneol=native#text/plain
components/codetools/tests/fpctests/tchlp41.pp svneol=native#text/plain
@ -1009,6 +1010,7 @@ components/codetools/tests/fpctests/tchlp52.pp svneol=native#text/plain
components/codetools/tests/fpctests/tchlp53.pp svneol=native#text/plain
components/codetools/tests/fpctests/tchlp6.pp svneol=native#text/plain
components/codetools/tests/fpctests/tchlp7.pp svneol=native#text/plain
components/codetools/tests/laztests/README.txt svneol=native#text/plain
components/codetools/tests/parsertbase.pas svneol=native#text/plain
components/codetools/tests/parsertest.lpi svneol=native#text/plain
components/codetools/tests/parsertest.lpr svneol=native#text/plain

View File

@ -13,6 +13,10 @@
./finddeclarationtest --format=plain --suite=TestFindDeclaration_FPCTests
./finddeclarationtest --format=plain --suite=TestFindDeclaration_FPCTests --filemask=t*.pp
./finddeclarationtest --format=plain --suite=TestFindDeclaration_FPCTests --filemask=tchlp41.pp
Laz tests:
./finddeclarationtest --format=plain --suite=TestFindDeclaration_LazTests
./finddeclarationtest --format=plain --suite=TestFindDeclaration_LazTests --filemask=t*.pp
./finddeclarationtest --format=plain --suite=TestFindDeclaration_LazTests --filemask=tdefaultproperty1.pp
}
unit fdtbase;

View File

@ -40,7 +40,7 @@
<PackageName Value="fpcunitconsolerunner"/>
</Item2>
</RequiredPackages>
<Units Count="10">
<Units Count="11">
<Unit0>
<Filename Value="finddeclarationtest.lpr"/>
<IsPartOfProject Value="True"/>
@ -81,6 +81,10 @@
<Filename Value="fpctests/tdefaultproperty1.pas"/>
<IsPartOfProject Value="True"/>
</Unit9>
<Unit10>
<Filename Value="fpctests/README.txt"/>
<IsPartOfProject Value="True"/>
</Unit10>
</Units>
</ProjectOptions>
<CompilerOptions>

View File

@ -0,0 +1,12 @@
This directory contains tests from the FPC test/src directory, extended with
marks for the ../finddeclarationtest.lpi.
Testing all these files:
./finddeclarationtest --format=plain --suite=TestFindDeclaration_FPCTests
Testing one file:
./finddeclarationtest --format=plain --suite=TestFindDeclaration_FPCTests --filemask=tchlp41.pp
Testing a bunch of files:
./finddeclarationtest --format=plain --suite=TestFindDeclaration_FPCTests --filemask=tchlp*.pp

View File

@ -0,0 +1,11 @@
This directory contains tests with marks for the ../finddeclarationtest.lpi.
Testing all these files:
./finddeclarationtest --format=plain --suite=TestFindDeclaration_LazTests
Testing one file:
./finddeclarationtest --format=plain --suite=TestFindDeclaration_LazTests --filemask=tchlp41.pp
Testing a bunch of files:
./finddeclarationtest --format=plain --suite=TestFindDeclaration_LazTests --filemask=tchlp*.pp