Commit 4212516e authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Don't create .pass-, .warn- and .fail files. The information is

present in mainlog.txt, and the Xenofarm scripts no longer need them.
parent e2cc8f0a
......@@ -95,7 +95,6 @@ dotask () {
timeecho Begin $task
if sh -c "$cmd" > r/${task}log.txt 2>&1
then
touch r/$task.pass
if [ -z "$warnfunc" ]
then
logpass
......@@ -104,7 +103,6 @@ dotask () {
fi
else
timeecho FAIL: $task
touch r/$task.fail
if [ $important = 1 ]
then
status=${task}-failed
......@@ -123,7 +121,6 @@ cfgwarn () {
warnings=`wc -l < r/cfgwarn.txt`
if test $warnings -gt 0
then
mv r/cfg.pass r/cfg.warn
logwarn $warnings
else
rm r/cfgwarn.txt
......@@ -152,7 +149,6 @@ makewarn () {
warnings=`wc -l < r/makewarn.txt`
if test $warnings -gt 0
then
mv r/make.pass r/make.warn
logwarn $warnings
else
rm r/makewarn.txt
......@@ -168,12 +164,10 @@ ckprgwarn () {
warnings=`wc -l < r/ckprgwarn.txt`
if test $warnings -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
logfail
else
rm r/ckprgfail.txt
......@@ -297,12 +291,7 @@ fi
dotask 1 "install" "" "cd $BASE && make install"
if [ -f r/install.pass ]
then
logstart "findfiles"
find pfx -type f -print | sort > r/installedfiles.txt
logpass
fi
find pfx -type f -print | sort > r/installedfiles.txt
# FIXME: run distcheck.
# FIXME: compare the contents of the distcheck-generated tar file
......
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