#!/bin/sh

#
# record a session for all tests.  invoke this from the subdir you want to
# record.  ie
#
# yourhost: lesstif/test/Xm/arrowbg% ../Xlab/RecordAll motif

if [ x$1 = 'xmotif' ]
then
  make motif-tests
  motif=motif
else
  make
fi

for i in test*[0-9].c
do
	thistest=`basename $i .c`
	echo "Recording for $thistest $motif"
	../Xlab/RecordSession $thistest $motif
done
