lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master 83e53663 02/10: For the nonce, exclude 'math_


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 83e53663 02/10: For the nonce, exclude 'math_functions_test' ∩ UBSan
Date: Wed, 8 Jun 2022 19:41:00 -0400 (EDT)

branch: master
commit 83e53663b6f3dc75e1266fedce1aa7a51c1a083d
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>

    For the nonce, exclude 'math_functions_test' ∩ UBSan
    
    /opt/lmi/src/lmi/fdlibm_expm1.c:243:13: runtime error: left shift of 
negative value -2
        #0 0x5633bb2b0576 in fdlibm_expm1 /opt/lmi/src/lmi/fdlibm_expm1.c:243
        #1 0x5633bb2f18ba in test_expm1_log1p() 
/opt/lmi/src/lmi/math_functions_test.cpp:662
        #2 0x5633bb2fb7ea in test_main(int, char**) 
/opt/lmi/src/lmi/math_functions_test.cpp:804
        #3 0x5633bb2fbd56 in cpp_main(int, char**) 
/opt/lmi/src/lmi/test_main.cpp:171
    [uninteresting #4 - #8 snipped]
---
 objects.make | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/objects.make b/objects.make
index 759f69a8..f8f89cea 100644
--- a/objects.make
+++ b/objects.make
@@ -357,7 +357,12 @@ endif
 excluded_unit_test_targets :=
 
 ifeq (ubsan,$(build_type))
-  excluded_unit_test_targets += actuarial_table_test loads_test 
mortality_rates_test
+  excluded_unit_test_targets += \
+    actuarial_table_test \
+    loads_test \
+    math_functions_test \
+    mortality_rates_test \
+
 endif
 
 unit_test_targets := \



reply via email to

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