created package for console test runner

git-svn-id: trunk@10089 -
This commit is contained in:
vincents 2006-10-17 20:01:34 +00:00
parent 766d00f56a
commit 810d321780
7 changed files with 72 additions and 13 deletions

5
.gitattributes vendored
View File

@ -144,6 +144,9 @@ components/customform/lazcustforms.pas svneol=native#text/plain
components/fpcunit/Makefile svneol=native#text/plain
components/fpcunit/Makefile.fpc 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.pas svneol=native#text/pascal
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/globallinks/README.txt 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/lazcustomform-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.lpr 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.lrs svneol=native#text/pascal
tools/apiwizz/apiwizard.pp svneol=native#text/pascal

View File

@ -17,7 +17,7 @@
along with this library; if not, write to the Free Software Foundation,
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
}
unit testrunner;
unit consoletestrunner;
{$mode objfpc}{$H+}

View 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>

View 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.

View File

@ -0,0 +1 @@
$(LazarusDir)/components/fpcunit/console/fpcunitconsolerunner.lpk

View File

@ -21,15 +21,18 @@
<LaunchingApplication PathPlusParams="/usr/X11R6/bin/xterm -T 'Lazarus Run Output' -e $(LazarusDir)/tools/runwait.sh $(TargetCmdLine)"/>
</local>
</RunParams>
<RequiredPackages Count="2">
<RequiredPackages Count="3">
<Item1>
<PackageName Value="LCL"/>
<PackageName Value="fpcunitconsolerunner"/>
</Item1>
<Item2>
<PackageName Value="FCL"/>
<PackageName Value="LCL"/>
</Item2>
<Item3>
<PackageName Value="FCL"/>
</Item3>
</RequiredPackages>
<Units Count="3">
<Units Count="2">
<Unit0>
<Filename Value="runtests.lpr"/>
<IsPartOfProject Value="True"/>
@ -40,11 +43,6 @@
<IsPartOfProject Value="True"/>
<UnitName Value="TestLpi"/>
</Unit1>
<Unit2>
<Filename Value="testrunner.pas"/>
<IsPartOfProject Value="True"/>
<UnitName Value="testrunner"/>
</Unit2>
</Units>
</ProjectOptions>
<CompilerOptions>

View File

@ -1,4 +1,4 @@
{ $ID: $}
{ $Id: $}
{ Copyright (C) 2006 Vincent Snijders
This source is free software; you can redistribute it and/or modify it under
@ -21,7 +21,7 @@ program runtests;
{$mode objfpc}{$H+}
uses
Classes, TestLpi, testrunner;
Classes, TestLpi, consoletestrunner;
type