lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [6044] Provide more information when a test fails


From: Greg Chicares
Subject: [lmi-commits] [6044] Provide more information when a test fails
Date: Thu, 04 Dec 2014 04:36:22 +0000

Revision: 6044
          http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=6044
Author:   chicares
Date:     2014-12-04 04:36:17 +0000 (Thu, 04 Dec 2014)
Log Message:
-----------
Provide more information when a test fails

Modified Paths:
--------------
    lmi/trunk/ChangeLog
    lmi/trunk/wx_test_benchmark_census.cpp

Modified: lmi/trunk/ChangeLog
===================================================================
--- lmi/trunk/ChangeLog 2014-12-04 04:31:12 UTC (rev 6043)
+++ lmi/trunk/ChangeLog 2014-12-04 04:36:17 UTC (rev 6044)
@@ -34708,3 +34708,9 @@
 Make test output more greppable. See:
   http://lists.nongnu.org/archive/html/lmi/2014-11/msg00061.html
 
+20141204T0436Z <address@hidden> [516]
+
+  wx_test_benchmark_census.cpp
+Provide more information when a test fails. See:
+  http://lists.nongnu.org/archive/html/lmi/2014-11/msg00061.html
+

Modified: lmi/trunk/wx_test_benchmark_census.cpp
===================================================================
--- lmi/trunk/wx_test_benchmark_census.cpp      2014-12-04 04:31:12 UTC (rev 
6043)
+++ lmi/trunk/wx_test_benchmark_census.cpp      2014-12-04 04:36:17 UTC (rev 
6044)
@@ -96,7 +96,10 @@
                 (std::fabs(diff_in_percents) < 10
                 ,wxString::Format
                     (
-                    "expected %ldms, but actually took %ldms, i.e. %s"
+                    "%s for %s was expected to take %ldms, "
+                    "but actually took %ldms, i.e. %s"
+                    ,operation
+                    ,name_
                     ,time_expected
                     ,time_real
                     ,delta




reply via email to

[Prev in Thread] Current Thread [Next in Thread]