#!/bin/csh

set echo

make -s clean

rm -f tst_tmp_file

set testname = $1

set arguments = `grep $testname testlist | head -1`
echo "arguments = " $arguments

./do_test $arguments >&  tst_tmp_file
diff tst_tmp_file qcr/$testname.qcr
rm -f tst_tmp_file
