#!/bin/csh

#set echo

mv qcr/* old/qcr

set n = `cat testlist | wc -l`
set i = 0
while ( $i < $n)
	@ i++

	set arguments = `head -$i testlist | tail -1`
	set testname = $arguments[1]

	echo making qcrs for $testname
	./do_test $arguments >& qcr/$testname.qcr
end

