Re: [fpc-pascal] C translation question

2016-11-15 Thread Lars
On Sun, November 13, 2016 2:50 am, Bo Berglund wrote:
> On Sun, 30 Oct 2016 21:15:03 -0600, "Lars"
>  wrote:
>
>
>> The issue with github is that it encourages a lot of forking rather
>> than working together as CVS did.
>
> We still use CVS

I just wish CVS and SVN had as nice of a GUI front end (like github).
That's the one thing I really like about git is the nice GUI access,
simple readme system for projects etc. With CVS and SVN gui's and website
front ends I never found anything that pleasing, although I haven't looked
at third party front ends.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


[fpc-pascal] Lazarus Release 1.6.2

2016-11-15 Thread Mattias Gaertner
The Lazarus team is glad to announce the release of Lazarus 1.6.2. This
is a bugfix release.

This release was built with FPC 3.0.0.
The previous release Lazarus 1.6 was built with FPC 3.0.0 too.

Here is the list of fixes for Lazarus 1.6.x:
http://wiki.freepascal.org/Lazarus_1.6_fixes_branch

Here is the list of changes for Lazarus and Free Pascal:
http://wiki.lazarus.freepascal.org/Lazarus_1.6.0_release_notes
http://wiki.lazarus.freepascal.org/User_Changes_3.0.0

The release is available for download on SourceForge:
http://sourceforge.net/projects/lazarus/files/

Choose your CPU, OS, distro and then the "Lazarus 1.6.2" directory.

Checksums for the SourceForge files:
http://www.lazarus-ide.org/index.php?page=checksums#1_6_2

Minimum requirements:

Windows:   
  MS Windows >= Win98 (32 or 64bit)
  Win98 and WinNT IDE needs FPC 2.6.4 and building with flag
-dWIN9XPLATFORM. 

FreeBSD/Linux:
  gtk 2.8 or qt4.5, 32 or 64bit.

Mac OS X:
  10.5 to 10.11, LCL only 32bit, non LCL apps can be 64bit.

The svn tag is
http://svn.freepascal.org/svn/lazarus/tags/lazarus_1_6_2

For people who are blocked by SF, the Lazarus releases from SourceForge
are mirrored at:
ftp://freepascal.dfmk.hu/pub/lazarus/releases/
and later at (after some time for synchronization)
http://michael-ep3.physik.uni-halle.de/Lazarus/releases/
and
http://mirrors.iwi.me/lazarus/

Mattias
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] The testcase example doesn't generate plain text report

2016-11-15 Thread Graeme Geldenhuys
On 2016-11-15 09:06, luciano de souza wrote:
> So I runned the test with the following commandline:
> 
> ./testrunner -a --format=plain
> 
> However, the output produced was in XML.

I had a quick look at the source code of the demo included with FPCUnit.
Interestingly, it defines its own test runner and only handles XML or
LaTeX for the -l command line parameter - all other output is hard-coded
to XML. The demo doesn't use the consoletestrunner.pp unit for some reason.

If however you create your own test project, use the
consoletestrunner.pp unit, which defines TTestRunner. Use that as your
base class for your test suite application. It will then correctly
support the --format parameter for test output as well as test listing
results.

for example:


===
program mytests;

{$mode objfpc}{$H+}

uses
  Classes
  ,consoletestrunner
  // All test units go in here - shared between GUI and Console runners
  {$i testunits.inc}
  ;

type
  TMyTestRunner = class(TTestRunner)
  protected
  // override the protected methods of TTestRunner to customize its behavior
  end;

var
  Application: TMyTestRunner;

begin
  DefaultFormat:=fPlain;
  DefaultRunAllTests:=True;
  Application := TMyTestRunner.Create(nil);
  Application.Initialize;
  Application.Run;
  Application.Free;
end.
===


Regards,
  Graeme

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


[fpc-pascal] The testcase example doesn't generate plain text report

2016-11-15 Thread luciano de souza
Hello all,
I am trying to run testcases.
For testing the idea, I compile the example contained in:

./fpc-3.0.0/packages/fcl-fpcunit

The compilation was successful.

As I am blind, the XML format is very unpleasant becose the output is
too verbose.

So I runned the test with the following commandline:

./testrunner -a --format=plain

However, the output produced was in XML.

What am I doing wrong.

See the output:






























































































































62
0
0




-- 
Luciano de Souza
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal