From ea39cd3f468419aaad9a537ad01a1507c21b0b3e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Adjemian=20=28Hermes=29?=
 <stephane.adjemian@univ-lemans.fr>
Date: Tue, 17 Nov 2015 11:52:25 +0100
Subject: [PATCH] Cosmetic change.

Print PASSED or FAILED for each tested routine.
---
 src/run_unitary_tests.m | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/run_unitary_tests.m b/src/run_unitary_tests.m
index 2a406b8..2a48fb3 100644
--- a/src/run_unitary_tests.m
+++ b/src/run_unitary_tests.m
@@ -36,8 +36,12 @@ report = {};
 for f=1:length(listoffiles)
     if isempty(strfind(listoffiles{f},'.#'))
         if is_unitary_test_available(listoffiles{f})
-            disp(['***** Process unitary tests in      ' listoffiles{f}])
             [check, info] = mtest(listoffiles{f});
+            if check
+                disp(['***** Unitary tests in ' listoffiles{f} ' PASSED!'] )
+            else
+                disp(['***** Unitary tests in ' listoffiles{f} ' FAILED!'] )
+            end
             report = [report; info];
         else
             disp(['Booh! No unitary tests available in ' listoffiles{f}])
-- 
GitLab