#!/bin/sh # Drive a configuration through all tests for several stacksizes. # # Arguments # - Configuration # # Results: writes to to work/data//stack.usage # ========================================================== # Get arguments, and check them ... cfg=$1 if [ X$cfg = X ] then echo Usage: $0 config exit -1 fi # ========================================================== # Derived information, and global initialization cd `dirname $0`/.. out=work/data/$cfg/stack.usage # ========================================================== echo start `date` rm -f $out mode=0 for j in `cat work/data/$cfg/available.tests` do if [ $mode -eq 0 ] then mode=1 ; ftst=$j else mode=0 ; tst=$j ./bin/stacktest.series $cfg $ftst $tst >> $out fi done echo done_ `date` exit