mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 10:39:09 +02:00
+ include fcl-passrc in regression tests
This commit is contained in:
parent
dd4b4af6a5
commit
246bff92d2
32
packages/fcl-passrc/tests/testpassrc.pp
Normal file
32
packages/fcl-passrc/tests/testpassrc.pp
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
{ %OPT=-Sc }
|
||||||
|
program testpassrc;
|
||||||
|
|
||||||
|
{$mode objfpc}{$H+}
|
||||||
|
|
||||||
|
uses
|
||||||
|
//MemCheck,
|
||||||
|
Classes, consoletestrunner, tcscanner, tctypeparser, tcstatements,
|
||||||
|
tcbaseparser, tcmoduleparser, tconstparser, tcvarparser, tcclasstype,
|
||||||
|
tcexprparser, tcprocfunc, tcpassrcutil, tcresolver, tcgenerics,
|
||||||
|
tcuseanalyzer, pasresolveeval, tcresolvegenerics;
|
||||||
|
|
||||||
|
type
|
||||||
|
|
||||||
|
{ TLazTestRunner }
|
||||||
|
|
||||||
|
TMyTestRunner = class(TTestRunner)
|
||||||
|
protected
|
||||||
|
// override the protected methods of TTestRunner to customize its behavior
|
||||||
|
end;
|
||||||
|
|
||||||
|
var
|
||||||
|
Application: TMyTestRunner;
|
||||||
|
|
||||||
|
begin
|
||||||
|
Application := TMyTestRunner.Create(nil);
|
||||||
|
DefaultFormat:=fplain;
|
||||||
|
DefaultRunAllTests:=True;
|
||||||
|
Application.Initialize;
|
||||||
|
Application.Run;
|
||||||
|
Application.Free;
|
||||||
|
end.
|
@ -2461,7 +2461,7 @@ TESTDIRECTDIRS=
|
|||||||
TESTSUBDIRS=cg cg/variants cg/cdecl cpu16 cpu16/i8086 library opt $(addprefix units/,$(TESTUNITDIRS))
|
TESTSUBDIRS=cg cg/variants cg/cdecl cpu16 cpu16/i8086 library opt $(addprefix units/,$(TESTUNITDIRS))
|
||||||
TESTPACKAGESDIRS=win-base webtbs hash fcl-registry fcl-process zlib fcl-db fcl-xml cocoaint bzip2 fcl-net
|
TESTPACKAGESDIRS=win-base webtbs hash fcl-registry fcl-process zlib fcl-db fcl-xml cocoaint bzip2 fcl-net
|
||||||
TESTPACKAGESUBDIRS=$(addprefix packages/,$(TESTPACKAGESDIRS))
|
TESTPACKAGESUBDIRS=$(addprefix packages/,$(TESTPACKAGESDIRS))
|
||||||
TESTPACKAGESDIRECTDIRS=rtl-objpas rtl-generics hash regexpr fcl-registry
|
TESTPACKAGESDIRECTDIRS=rtl-objpas rtl-generics hash regexpr fcl-registry fcl-passrc
|
||||||
TESTPACKAGESDIRECTSUBDIRS=$(addprefix ../packages/,$(addsuffix /tests,$(TESTPACKAGESDIRECTDIRS)))
|
TESTPACKAGESDIRECTSUBDIRS=$(addprefix ../packages/,$(addsuffix /tests,$(TESTPACKAGESDIRECTDIRS)))
|
||||||
ifdef QUICKTEST
|
ifdef QUICKTEST
|
||||||
export QUICKTEST
|
export QUICKTEST
|
||||||
|
@ -164,7 +164,7 @@ TESTDIRECTDIRS=
|
|||||||
TESTSUBDIRS=cg cg/variants cg/cdecl cpu16 cpu16/i8086 library opt $(addprefix units/,$(TESTUNITDIRS))
|
TESTSUBDIRS=cg cg/variants cg/cdecl cpu16 cpu16/i8086 library opt $(addprefix units/,$(TESTUNITDIRS))
|
||||||
TESTPACKAGESDIRS=win-base webtbs hash fcl-registry fcl-process zlib fcl-db fcl-xml cocoaint bzip2 fcl-net
|
TESTPACKAGESDIRS=win-base webtbs hash fcl-registry fcl-process zlib fcl-db fcl-xml cocoaint bzip2 fcl-net
|
||||||
TESTPACKAGESUBDIRS=$(addprefix packages/,$(TESTPACKAGESDIRS))
|
TESTPACKAGESUBDIRS=$(addprefix packages/,$(TESTPACKAGESDIRS))
|
||||||
TESTPACKAGESDIRECTDIRS=rtl-objpas rtl-generics hash regexpr fcl-registry
|
TESTPACKAGESDIRECTDIRS=rtl-objpas rtl-generics hash regexpr fcl-registry fcl-passrc
|
||||||
TESTPACKAGESDIRECTSUBDIRS=$(addprefix ../packages/,$(addsuffix /tests,$(TESTPACKAGESDIRECTDIRS)))
|
TESTPACKAGESDIRECTSUBDIRS=$(addprefix ../packages/,$(addsuffix /tests,$(TESTPACKAGESDIRECTDIRS)))
|
||||||
|
|
||||||
ifdef QUICKTEST
|
ifdef QUICKTEST
|
||||||
|
Loading…
Reference in New Issue
Block a user