Index: trunk/Ohana/src/opihi/test/tests.sh
===================================================================
--- trunk/Ohana/src/opihi/test/tests.sh	(revision 6231)
+++ trunk/Ohana/src/opihi/test/tests.sh	(revision 6266)
@@ -10,4 +10,8 @@
   break -auto off
 
+  $failtest:n = 0
+  $failfile:n = 0
+  $faildirs:n = 0
+
   for Ti 0 $testdir:n
     list testscripts -x "ls $testdir:$Ti/*.sh"
@@ -20,4 +24,11 @@
           echo "failed test $tests:$Tk"
           $Nfail ++
+          $n = $failtest:n
+	  $failtest:$n = $tests:$Tk
+	  $failfile:$n = $testscripts:$Tj
+	  $faildirs:$n = $testdir:$Ti
+          $failtest:n ++
+          $failfile:n ++
+          $faildirs:n ++
         else
           # echo "passed $tests:$Tk"
@@ -36,4 +47,10 @@
   echo "$Nfail tests failed"
   echo "examined $testdir:n directories"
+
+  if ($Nfail > 0) 
+    for i 0 $Nfail
+      echo $faildirs:$i $failfile:$i $failtest:$i
+    end
+  end
 end
 
