[fpc-pascal] Unit testing aid...

Martin lazarus at mfriebe.de
Wed Aug 22 21:56:34 CEST 2012


On 22/08/2012 18:08, Michael Van Canneyt wrote:
>
> Hi,
>
> for those that do unit testing, I committed a small tool "pas2ut" which
> analyses a unit, and creates a unit with a number of (empty) test 
> cases. Obviously, the unit should be compileable (well, at least it 
> must be
> parseable).

I just updated from SVN (after make clean), using fpc 2.6.0 (only ppc, 
no full install, I admit it could be may fault, I still dare to ask for 
help)


make.exe -C fpcmkcfg all
make.exe[3]: Entering directory `C:/FPC/SVN/trunc/utils/fpcmkcfg'
C:/FPC/SVN/trunk_build/gmkdir.exe -p units/i386-win32
C:/FPC/SVN/trunc/compiler/ppc386.exe -XX -CX -Ur -Xs -O2 -n -O2 
-FuC:/FPC/SVN/trunc/rtl/units/i386-win32 -FuC:/FPC/SVN/trunc/packages/paszli
b/units/i386-win32 
-FuC:/FPC/SVN/trunc/packages/fcl-process/units/i386-win32 
-FuC:/FPC/SVN/trunc/packages/hash/units/i386-win32 -FuC:/FPC/SV
N/trunc/packages/fpmkunit/units/i386-win32 
-FuC:/FPC/SVN/trunc/packages/fcl-base/units/i386-win32 -FE. 
-FUunits/i386-win32 -gl -O3 -Or -CpPE
NTIUMM -OpPENTIUMM -di386 -dRELEASE fpcmkcfg.pp
make.exe[3]: Leaving directory `C:/FPC/SVN/trunc/utils/fpcmkcfg'
make.exe -C pas2ut all
make.exe[3]: Entering directory `C:/FPC/SVN/trunc/utils/pas2ut'
C:/FPC/SVN/trunk_build/gmkdir.exe -p units/i386-win32
C:/FPC/SVN/trunc/compiler/ppc386.exe -XX -CX -Ur -Xs -O2 -n -O2 -S2h 
-FuC:/FPC/SVN/trunc/rtl/units/i386-win32 -FuC:/FPC/SVN/trunc/packages/p
aszlib/units/i386-win32 
-FuC:/FPC/SVN/trunc/packages/fcl-process/units/i386-win32 
-FuC:/FPC/SVN/trunc/packages/hash/units/i386-win32 -FuC:/F
PC/SVN/trunc/packages/fpmkunit/units/i386-win32 
-FuC:/FPC/SVN/trunc/packages/fcl-passrc/units/i386-win32 -FE. 
-FUunits/i386-win32 -gl -O3 -O
r -CpPENTIUMM -OpPENTIUMM -di386 -dRELEASE pas2ut.pp
pas2ut.pp(20,45) Fatal: Can't find unit CustApp used by pas2ut
Fatal: Compilation aborted
make.exe[3]: *** [pas2ut.exe] Error 1
make.exe[3]: Leaving directory `C:/FPC/SVN/trunc/utils/pas2ut'
make.exe[2]: *** [pas2ut_all] Error 2
make.exe[2]: Leaving directory `C:/FPC/SVN/trunc/utils'
make.exe[1]: *** [utils_all] Error 2
make.exe[1]: Leaving directory `C:/FPC/SVN/trunc'
make.exe: *** [build-stamp.i386-win32] Error 2




More information about the fpc-pascal mailing list