2001-08-22 Roland McGrath <roland@frob.com>
authorRoland McGrath <roland@gnu.org>
Thu, 23 Aug 2001 04:34:36 +0000 (04:34 +0000)
committerRoland McGrath <roland@gnu.org>
Thu, 23 Aug 2001 04:34:36 +0000 (04:34 +0000)
* conform/conformtest.pl (checknamespace): Sort the output list.

conform/conformtest.pl

index ebef130..b15656b 100644 (file)
@@ -278,7 +278,8 @@ sub checknamespace {
   unlink "$fnamebase.c";
   $realerror = 0;
   if ($#errors != 0) {
-    foreach $f (%errors) {
+    # Sort the output list so it's easier to compare results with diff.
+    foreach $f (sort keys(%errors)) {
       if ($errors{$f} == 1) {
        if ($realerror == 0) {
          printf ("FAIL\n    " . "-" x 72 . "\n");