Files
guru/dev-cpp/safeint/files/safeint-3.0.28a-remove-broken-tests.patch
Pavel Sobolev 341dfd553c dev-cpp/safeint: new package, add 3.0.28a
Signed-off-by: Pavel Sobolev <contact@paveloom.dev>
2025-08-19 16:26:53 +03:00

42 lines
1.1 KiB
Diff

From: Pavel Sobolev <contact@paveloom.dev>
Subject: [PATCH] Remove broken tests.
Bug: https://github.com/dcleblanc/SafeInt/issues/55
Signed-off-by: Pavel Sobolev <contact@paveloom.dev>
--- a/Test/GccTest/CMakeLists.txt
+++ b/Test/GccTest/CMakeLists.txt
@@ -105,15 +105,6 @@ else()
target_compile_options(CompileTest_gcc PUBLIC -Wall)
- add_executable(CompileTest_gcc17
- ../CompileTest.cpp
- ../ConstExpr.cpp
- ../CleanCompile.cpp
- ../../SafeInt.hpp
- )
-
- target_compile_options(CompileTest_gcc17 PUBLIC -Wall -std=c++17)
-
add_executable(CompileTest_gcc14
../CompileTest.cpp
../ConstExpr.cpp
@@ -132,15 +123,6 @@ else()
target_compile_options(CompileTest_gcc14_NoEH PUBLIC -Wall -std=c++14 -fno-exceptions)
- add_executable(CompileTest_gcc98
- ../CompileTest.cpp
- ../ConstExpr.cpp
- ../CleanCompile.cpp
- ../../SafeInt.hpp
- )
-
- target_compile_options(CompileTest_gcc98 PUBLIC -D SAFEINT_USE_CPLUSCPLUS_98 -Wall -std=c++98 -fno-exceptions)
-
add_executable(safe_math_test_gcc
../c_safe_math/safe_math_test.c
../c_safe_math/safe_math_test.h