lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [6389] Permit regression tests for withdrawn products


From: Greg Chicares
Subject: [lmi-commits] [6389] Permit regression tests for withdrawn products
Date: Fri, 06 Nov 2015 21:18:40 +0000

Revision: 6389
          http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=6389
Author:   chicares
Date:     2015-11-06 21:18:38 +0000 (Fri, 06 Nov 2015)
Log Message:
-----------
Permit regression tests for withdrawn products

Modified Paths:
--------------
    lmi/trunk/ledger.cpp

Modified: lmi/trunk/ledger.cpp
===================================================================
--- lmi/trunk/ledger.cpp        2015-11-06 19:11:24 UTC (rev 6388)
+++ lmi/trunk/ledger.cpp        2015-11-06 21:18:38 UTC (rev 6389)
@@ -31,10 +31,11 @@
 #include "alert.hpp"
 #include "assert_lmi.hpp"
 #include "crc32.hpp"
+#include "global_settings.hpp"
 #include "ledger_invariant.hpp"
 #include "ledger_variant.hpp"
 #include "map_lookup.hpp"
-#include "mc_enum_types_aux.hpp" // mc_str()
+#include "mc_enum_types_aux.hpp"        // mc_str()
 
 #include <algorithm>
 #include <ostream>
@@ -563,7 +564,8 @@
         {
         return "Illustrations are forbidden for this policy form.";
         }
-    else if(z.no_can_issue()) // Don't even think about it, say no go.
+    // Don't even think about it, say no go.
+    else if(z.no_can_issue() && 
!global_settings::instance().regression_testing())
         {
         return "New-business illustrations are forbidden for this policy 
form.";
         }




reply via email to

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