[lcdproc] QA: Smoke tests & bugzilla?

Guillaume Filion gfk@logidac.com
Sat, 22 Sep 2001 15:51:44 -0400


At 11:34 -0600 22/09/01, wwf@splatwerks.org wrote:
>--- gfk@logidac.com wrote ---
>>  It seems to me that a test like this would help resolve much
>>  compilation problems for LCDproc releases.
>
>How much of the above can be automated fully? It'll be MUCH more likely to
>get done on each release if one (or a few) of us can just run a quick
>script and get a report in a few minutes :)
>

Sure, here's a try, feel free to modify it:
-----
#!/bin/sh

# version of LCDproc that is tested
VERSION=3D0.4.1
# Platform name on what it is tested
PLATFORM=3Dfreebsd

# # # # # # # # # # # # # # # # # #
mkdir -p smoketest-report
gzip -d -c lcdproc-${VERSION}.tar.gz | tar xvf -
cd lcdproc-${VERSION}
=2E/configure 
--enable-drivers=3Dmtxorb,cfontz,curses,text,hd44780,joy,bayrad,glk 
--enable-debug
echo "Compiling... Please be patient"
make > smoke-make.log 2>&1
cp config.log ../smoketest-report/${PLATFORM}-config.log
cp smoke-make.log ../smoketest-report/${PLATFORM}-smoke-make.log
cd ..
rm -rf lcdproc-${VERSION}

echo "Smoketests done!"
echo -n "Architecture is known as ${PLATFORM}. Details: "
uname -m -r -s -p
tar -zc smoketest-report/* -f smoketest-report.tar.gz
echo "The configuration and compilations reports are available in 
directory smoketest-report which has also been compressed in 
smoketest-report.tar.gz"
-----

Now the tester only needs to run this script on every platform he 
wants to test for smoke!

GFK's


-----------------------------------------------------------
To unsubscribe from this list send a blank message to
lcdproc-unsubscribe@lists.omnipotent.net