Commit 3058c976 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Remove makewarn.txt and ckprgwarn.txt if they are empty. Create

ckprgfail.txt and cause the ckprg steg to fail if the string "error"
is found in the output (case insensitive).
parent 888cd0fe
......@@ -296,6 +296,8 @@ then
if test `wc -l < r/makewarn.txt` -gt 0
then
mv r/make.pass r/make.warn
else
rm r/makewarn.txt
fi
fi
......@@ -308,6 +310,16 @@ then
if test `wc -l < r/ckprgwarn.txt` -gt 0
then
mv r/ckprg.pass r/ckprg.warn
egrep -i 'error' r/ckprgwarn.txt \
> r/ckprgfail.txt
if test `wc -l < r/ckprgfail.txt` -gt 0
then
mv r/ckprg.warn r/ckprg.fail
else
rm r/ckprgfail.txt
fi
else
rm r/ckprgwarn.txt
fi
fi
......
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