changeset 37:a4b7ceae0403 database-connection-manager

Show backtrace on unit test errors
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Mon, 05 Dec 2011 16:20:06 +0100
parents 5eb86f6881ef
children 3aef676a1b20
files m-toolbox/classes/tests/@ltpda_test_runner/run_test_list.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/m-toolbox/classes/tests/@ltpda_test_runner/run_test_list.m	Mon Dec 05 16:20:06 2011 +0100
+++ b/m-toolbox/classes/tests/@ltpda_test_runner/run_test_list.m	Mon Dec 05 16:20:06 2011 +0100
@@ -30,7 +30,7 @@
 %         fprintf('\b pass\n');
       catch Me
         runner.appendErrorResult(t.utp, mth, Me);
-        fprintf(2,'%s\n', Me.message);
+        fprintf(2,'%s\n', Me.getReport());
       end
       
     end