mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-09 00:56:02 +02:00
created package for console test runner
git-svn-id: trunk@10089 -
This commit is contained in:
parent
766d00f56a
commit
810d321780
5
.gitattributes
vendored
5
.gitattributes
vendored
@ -144,6 +144,9 @@ components/customform/lazcustforms.pas svneol=native#text/plain
|
|||||||
components/fpcunit/Makefile svneol=native#text/plain
|
components/fpcunit/Makefile svneol=native#text/plain
|
||||||
components/fpcunit/Makefile.fpc svneol=native#text/plain
|
components/fpcunit/Makefile.fpc svneol=native#text/plain
|
||||||
components/fpcunit/blueball.xpm svneol=native#text/plain
|
components/fpcunit/blueball.xpm svneol=native#text/plain
|
||||||
|
components/fpcunit/console/consoletestrunner.pas svneol=native#text/plain
|
||||||
|
components/fpcunit/console/fpcunitconsolerunner.lpk svneol=native#text/plain
|
||||||
|
components/fpcunit/console/fpcunitconsolerunner.pas svneol=native#text/plain
|
||||||
components/fpcunit/fpcunittestrunner.lpk svneol=native#text/pascal
|
components/fpcunit/fpcunittestrunner.lpk svneol=native#text/pascal
|
||||||
components/fpcunit/fpcunittestrunner.pas svneol=native#text/pascal
|
components/fpcunit/fpcunittestrunner.pas svneol=native#text/pascal
|
||||||
components/fpcunit/guitestrunner.lfm svneol=native#text/plain
|
components/fpcunit/guitestrunner.lfm svneol=native#text/plain
|
||||||
@ -2649,6 +2652,7 @@ packager/basepkgmanager.pas svneol=native#text/pascal
|
|||||||
packager/brokendependenciesdlg.pas svneol=native#text/pascal
|
packager/brokendependenciesdlg.pas svneol=native#text/pascal
|
||||||
packager/globallinks/README.txt svneol=native#text/plain
|
packager/globallinks/README.txt svneol=native#text/plain
|
||||||
packager/globallinks/demopackagewithhelp-0.lpl svneol=native#text/plain
|
packager/globallinks/demopackagewithhelp-0.lpl svneol=native#text/plain
|
||||||
|
packager/globallinks/fpcunitconsolerunner-1.lpl svneol=native#text/plain
|
||||||
packager/globallinks/h2paswizard-0.lpl svneol=native#text/plain
|
packager/globallinks/h2paswizard-0.lpl svneol=native#text/plain
|
||||||
packager/globallinks/lazcustomform-0.lpl svneol=native#text/plain
|
packager/globallinks/lazcustomform-0.lpl svneol=native#text/plain
|
||||||
packager/globallinks/lazopenglcontext-0.lpl svneol=native#text/plain
|
packager/globallinks/lazopenglcontext-0.lpl svneol=native#text/plain
|
||||||
@ -2692,7 +2696,6 @@ test/runtests.lpr svneol=native#text/plain
|
|||||||
test/runtestsgui.lpi svneol=native#text/plain
|
test/runtestsgui.lpi svneol=native#text/plain
|
||||||
test/runtestsgui.lpr svneol=native#text/plain
|
test/runtestsgui.lpr svneol=native#text/plain
|
||||||
test/testlpi.pas svneol=native#text/plain
|
test/testlpi.pas svneol=native#text/plain
|
||||||
test/testrunner.pas svneol=native#text/plain
|
|
||||||
tools/apiwizz/apiwizard.lfm svneol=native#text/plain
|
tools/apiwizz/apiwizard.lfm svneol=native#text/plain
|
||||||
tools/apiwizz/apiwizard.lrs svneol=native#text/pascal
|
tools/apiwizz/apiwizard.lrs svneol=native#text/pascal
|
||||||
tools/apiwizz/apiwizard.pp svneol=native#text/pascal
|
tools/apiwizz/apiwizard.pp svneol=native#text/pascal
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
along with this library; if not, write to the Free Software Foundation,
|
along with this library; if not, write to the Free Software Foundation,
|
||||||
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
}
|
}
|
||||||
unit testrunner;
|
unit consoletestrunner;
|
||||||
|
|
||||||
{$mode objfpc}{$H+}
|
{$mode objfpc}{$H+}
|
||||||
|
|
43
components/fpcunit/console/fpcunitconsolerunner.lpk
Normal file
43
components/fpcunit/console/fpcunitconsolerunner.lpk
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<CONFIG>
|
||||||
|
<Package Version="2">
|
||||||
|
<PathDelim Value="\"/>
|
||||||
|
<Name Value="fpcunitconsolerunner"/>
|
||||||
|
<Author Value="Vincent"/>
|
||||||
|
<CompilerOptions>
|
||||||
|
<Version Value="5"/>
|
||||||
|
<PathDelim Value="\"/>
|
||||||
|
<SearchPaths>
|
||||||
|
<UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)\"/>
|
||||||
|
</SearchPaths>
|
||||||
|
<CodeGeneration>
|
||||||
|
<Generate Value="Faster"/>
|
||||||
|
</CodeGeneration>
|
||||||
|
<Other>
|
||||||
|
<CompilerPath Value="$(CompPath)"/>
|
||||||
|
</Other>
|
||||||
|
</CompilerOptions>
|
||||||
|
<License Value="Modified LGPL
|
||||||
|
"/>
|
||||||
|
<Version Major="1"/>
|
||||||
|
<Files Count="1">
|
||||||
|
<Item1>
|
||||||
|
<Filename Value="consoletestrunner.pas"/>
|
||||||
|
<UnitName Value="consoletestrunner"/>
|
||||||
|
</Item1>
|
||||||
|
</Files>
|
||||||
|
<RequiredPkgs Count="1">
|
||||||
|
<Item1>
|
||||||
|
<PackageName Value="FCL"/>
|
||||||
|
<MinVersion Major="1" Valid="True"/>
|
||||||
|
</Item1>
|
||||||
|
</RequiredPkgs>
|
||||||
|
<UsageOptions>
|
||||||
|
<UnitPath Value="$(PkgOutDir)\"/>
|
||||||
|
</UsageOptions>
|
||||||
|
<PublishOptions>
|
||||||
|
<Version Value="2"/>
|
||||||
|
<IgnoreBinaries Value="False"/>
|
||||||
|
</PublishOptions>
|
||||||
|
</Package>
|
||||||
|
</CONFIG>
|
14
components/fpcunit/console/fpcunitconsolerunner.pas
Normal file
14
components/fpcunit/console/fpcunitconsolerunner.pas
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
{ This file was automatically created by Lazarus. Do not edit!
|
||||||
|
This source is only used to compile and install the package.
|
||||||
|
}
|
||||||
|
|
||||||
|
unit fpcunitconsolerunner;
|
||||||
|
|
||||||
|
interface
|
||||||
|
|
||||||
|
uses
|
||||||
|
consoletestrunner;
|
||||||
|
|
||||||
|
implementation
|
||||||
|
|
||||||
|
end.
|
1
packager/globallinks/fpcunitconsolerunner-1.lpl
Normal file
1
packager/globallinks/fpcunitconsolerunner-1.lpl
Normal file
@ -0,0 +1 @@
|
|||||||
|
$(LazarusDir)/components/fpcunit/console/fpcunitconsolerunner.lpk
|
@ -21,15 +21,18 @@
|
|||||||
<LaunchingApplication PathPlusParams="/usr/X11R6/bin/xterm -T 'Lazarus Run Output' -e $(LazarusDir)/tools/runwait.sh $(TargetCmdLine)"/>
|
<LaunchingApplication PathPlusParams="/usr/X11R6/bin/xterm -T 'Lazarus Run Output' -e $(LazarusDir)/tools/runwait.sh $(TargetCmdLine)"/>
|
||||||
</local>
|
</local>
|
||||||
</RunParams>
|
</RunParams>
|
||||||
<RequiredPackages Count="2">
|
<RequiredPackages Count="3">
|
||||||
<Item1>
|
<Item1>
|
||||||
<PackageName Value="LCL"/>
|
<PackageName Value="fpcunitconsolerunner"/>
|
||||||
</Item1>
|
</Item1>
|
||||||
<Item2>
|
<Item2>
|
||||||
<PackageName Value="FCL"/>
|
<PackageName Value="LCL"/>
|
||||||
</Item2>
|
</Item2>
|
||||||
|
<Item3>
|
||||||
|
<PackageName Value="FCL"/>
|
||||||
|
</Item3>
|
||||||
</RequiredPackages>
|
</RequiredPackages>
|
||||||
<Units Count="3">
|
<Units Count="2">
|
||||||
<Unit0>
|
<Unit0>
|
||||||
<Filename Value="runtests.lpr"/>
|
<Filename Value="runtests.lpr"/>
|
||||||
<IsPartOfProject Value="True"/>
|
<IsPartOfProject Value="True"/>
|
||||||
@ -40,11 +43,6 @@
|
|||||||
<IsPartOfProject Value="True"/>
|
<IsPartOfProject Value="True"/>
|
||||||
<UnitName Value="TestLpi"/>
|
<UnitName Value="TestLpi"/>
|
||||||
</Unit1>
|
</Unit1>
|
||||||
<Unit2>
|
|
||||||
<Filename Value="testrunner.pas"/>
|
|
||||||
<IsPartOfProject Value="True"/>
|
|
||||||
<UnitName Value="testrunner"/>
|
|
||||||
</Unit2>
|
|
||||||
</Units>
|
</Units>
|
||||||
</ProjectOptions>
|
</ProjectOptions>
|
||||||
<CompilerOptions>
|
<CompilerOptions>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ $ID: $}
|
{ $Id: $}
|
||||||
{ Copyright (C) 2006 Vincent Snijders
|
{ Copyright (C) 2006 Vincent Snijders
|
||||||
|
|
||||||
This source is free software; you can redistribute it and/or modify it under
|
This source is free software; you can redistribute it and/or modify it under
|
||||||
@ -21,7 +21,7 @@ program runtests;
|
|||||||
{$mode objfpc}{$H+}
|
{$mode objfpc}{$H+}
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, TestLpi, testrunner;
|
Classes, TestLpi, consoletestrunner;
|
||||||
|
|
||||||
type
|
type
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user