about summary refs log tree commit diff
path: root/conform/conformtest.pl
diff options
context:
space:
mode:
Diffstat (limited to 'conform/conformtest.pl')
-rw-r--r--conform/conformtest.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/conform/conformtest.pl b/conform/conformtest.pl
index ebef130e96..b15656bd60 100644
--- a/conform/conformtest.pl
+++ b/conform/conformtest.pl
@@ -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");