Commit 8df29b6b authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Make vtest work with non-vtc test-fails

parent d7a9386e
......@@ -194,10 +194,14 @@ failedtests () (
while read trs
do
name=`basename "${trs}" .trs`
vtc=`echo $trs | sed -e 's/trs$/vtc/' -e 's/.*_build\/\(sub\/\)\?//'`
vtc=`echo $trs | sed -E -e 's/trs$/vtc/' -e 's/.*_build\/(sub\/)?//'`
logfile=`echo $trs | sed -e 's/trs$/log/'`
log="${name}.log"
rev=`git log -n 1 --pretty=format:%H "${vtc}"`
if [ -f ${vtc} ] ; then
rev=`git log -n 1 --pretty=format:%H "${vtc}"`
else
rev="?"
fi
cp "${logfile}" "${REPORTDIR}/_${log}"
echo "VTCGITREV ${name} ${rev}"
echo "MANIFEST _${log}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment