diff --git a/test/testAll.m b/test/testAll.m
index 3ddd77185ea60b57d46ddcceaa351494c62d18d6..cf16b18f2ef3f57e122c9f6b76210114e6096276 100644
--- a/test/testAll.m
+++ b/test/testAll.m
@@ -14,6 +14,11 @@ try
     % print out a summary table
     table(result)
 
+    for i = 1:size(result,2)
+        sumFailed = sumFailed + result(i).Failed;
+        sumIncomplete = sumIncomplete + result(i).Incomplete;
+    end
+
     % restore the original path
     restoredefaultpath;
     addpath(originalUserPath);