#!/bin/sh # -*- sh -*- # Drive stack tests for a series of builds # Argument: Base directory containing the # sources and configurations to be built. #echo cdrive /DISABLED ; exit 0 # ==================================================== origin=`pwd` cd `dirname $0`/../work/build here=`pwd` echo $0 ... Driving stack tests in $here cfg="" for dir in `ls -d *` do if [ ! -d "$dir" ]; then continue; fi if [ ! -f "$dir/cdrive.cfg" ]; then continue; fi if [ ! -f "$dir/STACK" ]; then continue; fi cfg="$cfg $dir" done cd `dirname $0`/.. for c in $cfg do echo "* Starting test for $c" ../../bin/stacktest.config $c & done # ==================================================== exit