summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/safeint-disable-tests.patch
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/patches/safeint-disable-tests.patch')
-rw-r--r--gnu/packages/patches/safeint-disable-tests.patch42
1 files changed, 42 insertions, 0 deletions
diff --git a/gnu/packages/patches/safeint-disable-tests.patch b/gnu/packages/patches/safeint-disable-tests.patch
new file mode 100644
index 0000000000..baecd85b1b
--- /dev/null
+++ b/gnu/packages/patches/safeint-disable-tests.patch
@@ -0,0 +1,42 @@
+---
+ Test/GccTest/CMakeLists.txt | 18 ------------------
+ 1 file changed, 18 deletions(-)
+
+diff --git a/Test/GccTest/CMakeLists.txt b/Test/GccTest/CMakeLists.txt
+index 8a3bef4..9254d70 100644
+--- 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
+--
+2.50.1