[wpkg-users] [Bug 223] Test Suite Enhancements
Stefan Pendl
stefan.pendl.71 at gmail.com
Sun Jul 10 22:06:17 CEST 2011
> >> I am actually don't know who is currently officially managing
> >> the test suite. I
> >> just made some updates of obviously wrong test specifications
> >> in hosts.xml
> >> files recently.
> >>
> > Falko Trojahn has done most of the submits to the SVN
> repository, so it seems that he is responsible.
> >
> > I just noticed, that he is not listed as a member of the
> project at sourceforge.
> >
> Hello Stefan,
>
> I'll try to find some time tomorrow.
>
Hello Falko,
I have now integrated two things into my working copy of the test suite:
----
testinit.cmd ... initialize test suite between two runs and/or before the first run
============
@echo off
REM clear old logs and results
echo.
for %%F in ( "%~dp0logs\*" ) do del /F /Q "%%~F" >NUL 2>&1 && echo "%%~F" deleted ...
echo.
for %%F in ( "%~dp0results\*" ) do del /F /Q "%%~F" >NUL 2>&1 && echo "%%~F" deleted ...
REM clear wpkg.xml file
echo.
copy /Y /V "%~dp0\wpkgempty.xml" "%~dp0\wpkg.xml"
REM clear variables
echo.
set RUN=
set WPKGCMDPARAMS=
set WPKGVERSION=
----
testone.cmd
===========
@echo off
if "%3" == "" goto standard
set WPKGVERSION=-%3
:standard
REM clear old logs and results
del /F /Q "%~dp0logs\*-%1-%2-*" >NUL 2>&1
del /F /Q "%~dp0results\%1-%2*" >NUL 2>&1
echo Doing %1 %2...
...
----
Cleaning in "testone.cmd" could be activated by a command line switch or one could introduce a simple menu.
I have implemented a simple menu for compiling the UltraDefrag project, so it can be done.
---
Stefan
More information about the wpkg-users
mailing list