qa: Copy the output of each test to a log file

This commit is contained in:
Greg Farnum 2009-12-15 13:23:23 -08:00
parent 796d3ba3c5
commit 580dd13514

View File

@ -14,8 +14,10 @@ for test in `cd $basedir && find workunits/* | grep .sh`
do
echo "------ running test $test ------"
mkdir -p $test
mkdir -p ${basedir}/logs/${test}.log
rmdir ${basedir}/logs/${test}.log
pushd .
cd $test
${basedir}/${test}
${basedir}/${test} 2>&1 | tee ${basedir}/logs/${test}.log
popd
done