From 580dd135149cae2f3102a1281e63f7f6cd85c1bc Mon Sep 17 00:00:00 2001 From: Greg Farnum Date: Tue, 15 Dec 2009 13:23:23 -0800 Subject: [PATCH] qa: Copy the output of each test to a log file --- qa/runallonce.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/qa/runallonce.sh b/qa/runallonce.sh index dcf745f2c244f..ebaa0b32c56b9 100755 --- a/qa/runallonce.sh +++ b/qa/runallonce.sh @@ -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 -- 2.39.5