On Wed, Feb 20, 2002 at 07:06:53PM +1100, Grant Parnell wrote:
> #!/bin/bash
> CPUs=1
> COUNT=0
> while [ 0 ]
> do
>       cd /usr/src/linux
>       make clean; make dep; make $CPUs
>         LET COUNT=$COUNT+1
>       echo $COUNT > /tmp/compile_counter
> done

Not sure what "make 1" does. Maybe "make -j $CPUs bzImage" ?,
but I would try make -j $(( $CPUs + 1 )) bzImage
Not sure what LET does, either,  perhaps COUNT=$(( $COUNT + 1 ))

You would also need to capture the output of the makes to check 
for sig11's, etc.

I looked into linux testing not to long ago in the hopes of
testing kernels and hardware. Theres quite a few projects
around if you search on google (sgi, redhat). I found it interesting 
that a lot of the projects had warnings about damaging hardware and
starting fires. :) 


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to