This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PATCH: test_summary improvement
- To: gcc-patches at gcc dot gnu dot org
- Subject: PATCH: test_summary improvement
- From: Rainer Orth <ro at TechFak dot Uni-Bielefeld dot DE>
- Date: Mon, 28 May 2001 14:47:37 +0200 (MEST)
I regularly diff the output of make mail-report.log to check for testsuite
regressions and compare different configurations. Doing so, I noticed that
this relies on find returning the .sum files in a specific order, which of
course isn't guaranteed. Fixed thus.
Rainer
-----------------------------------------------------------------------------
Rainer Orth, Faculty of Technology, Bielefeld University
Email: ro@TechFak.Uni-Bielefeld.DE
Sat May 26 02:07:39 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* contrib/test_summary (files): Sort before evaluating.
Index: contrib/test_summary
===================================================================
RCS file: /cvs/gcc/gcc/contrib/test_summary,v
retrieving revision 1.17
diff -u -p -r1.17 test_summary
--- test_summary 2000/12/28 19:28:11 1.17
+++ test_summary 2001/05/28 12:45:35
@@ -63,7 +63,7 @@ while true; do
esac
done
: ${mailto="\" address \""}; export mailto
-files=`find . -name \*.sum$filesuffix -print`
+files=`find . -name \*.sum$filesuffix -print | sort`
anyfile=false anychange=$forcemail &&
for file in $files; do
[ -f $file ] &&