- remove inconsistent man page (doesn't get created randomly)
[packages/elektra.git] / disable-broken-tests.patch
1 --- elektra-0.8.23/src/bindings/io/uv/CMakeLists.txt~   2018-05-13 18:57:57.000000000 +0200
2 +++ elektra-0.8.23/src/bindings/io/uv/CMakeLists.txt    2021-03-04 23:06:03.297061786 +0100
3 @@ -54,39 +54,5 @@
4  
5         install (FILES "${CMAKE_CURRENT_BINARY_DIR}/${IO_UV_LIBRARY}.pc" DESTINATION lib${LIB_SUFFIX}/${TARGET_PKGCONFIG_FOLDER})
6  
7 -       # Build test
8 -       set (TESTEXENAME testio_${BINDING_VARIANT})
9 -
10 -       set (TEST_SOURCES $<TARGET_OBJECTS:cframework>)
11 -       add_headers (TEST_SOURCES)
12 -       file (GLOB IO_TEST_SRC_FILES "${CMAKE_SOURCE_DIR}/src/bindings/io/test/test*.c")
13 -       list (APPEND TEST_SOURCES ${IO_TEST_SRC_FILES})
14 -       list (APPEND TEST_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/testio_${BINDING_VARIANT}.c")
15 -
16 -       if (BUILD_FULL OR BUILD_STATIC)
17 -               list (APPEND TEST_SOURCES $<TARGET_OBJECTS:OBJ_${IO_UV_LIBRARY}>) # add sources for elektra-io-uv for static and full builds
18 -       endif ()
19 -
20 -       add_executable (${TESTEXENAME} ${TEST_SOURCES})
21 -       add_dependencies (${TESTEXENAME} kdberrors_generated)
22 -
23 -       target_include_directories (${TESTEXENAME} PUBLIC "${CMAKE_SOURCE_DIR}/tests/cframework")
24 -
25 -       target_link_elektra (${TESTEXENAME} elektra-kdb elektra-plugin elektra-io ${IO_UV_LIBRARY} m)
26 -       if (BUILD_FULL OR BUILD_STATIC)
27 -               target_link_libraries (${TESTEXENAME} "${LIBUV_LIBRARIES};m")
28 -       endif ()
29 -
30 -       if (LIBUV_VERSION VERSION_LESS "1.0")
31 -               target_compile_definitions (${TESTEXENAME} PRIVATE "HAVE_LIBUV0")
32 -       else ()
33 -               target_compile_definitions (${TESTEXENAME} PRIVATE "HAVE_LIBUV1")
34 -       endif ()
35 -
36 -       add_test (NAME ${TESTEXENAME}
37 -                 COMMAND "${CMAKE_BINARY_DIR}/bin/${TESTEXENAME}" "${CMAKE_CURRENT_SOURCE_DIR}"
38 -                 WORKING_DIRECTORY "${WORKING_DIRECTORY}")
39 -       set_property (TEST ${TESTEXENAME} PROPERTY ENVIRONMENT "LD_LIBRARY_PATH=${CMAKE_BINARY_DIR}/lib")
40 -
41         add_subdirectory (example)
42  endif ()
43 --- elektra-0.8.23/src/bindings/io/glib/CMakeLists.txt~ 2018-05-13 18:57:57.000000000 +0200
44 +++ elektra-0.8.23/src/bindings/io/glib/CMakeLists.txt  2021-03-04 23:16:58.480231361 +0100
45 @@ -39,34 +39,5 @@
46  
47         install (FILES "${CMAKE_CURRENT_BINARY_DIR}/${IO_VARIANT_LIBRARY}.pc" DESTINATION lib${LIB_SUFFIX}/${TARGET_PKGCONFIG_FOLDER})
48  
49 -       # Build test
50 -       set (testexename testio_${BINDING_VARIANT})
51 -
52 -       set (TEST_SOURCES $<TARGET_OBJECTS:cframework>)
53 -       add_headers (TEST_SOURCES)
54 -       file (GLOB IO_TEST_SRC_FILES "${CMAKE_SOURCE_DIR}/src/bindings/io/test/test*.c")
55 -       list (APPEND TEST_SOURCES ${IO_TEST_SRC_FILES})
56 -       list (APPEND TEST_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/testio_${BINDING_VARIANT}.c")
57 -
58 -       if (BUILD_FULL OR BUILD_STATIC) # add sources for elektra-io-glib for static and full builds
59 -               list (APPEND TEST_SOURCES $<TARGET_OBJECTS:OBJ_${IO_VARIANT_LIBRARY}>)
60 -       endif ()
61 -
62 -       add_executable (${testexename} ${TEST_SOURCES})
63 -       add_dependencies (${testexename} kdberrors_generated)
64 -
65 -       target_include_directories (${testexename} PUBLIC "${CMAKE_SOURCE_DIR}/tests/cframework")
66 -       target_include_directories (${testexename} PUBLIC SYSTEM ${GLIB_INCLUDE_DIRS})
67 -
68 -       target_link_elektra (${testexename} elektra-kdb elektra-plugin elektra-io ${IO_VARIANT_LIBRARY} m)
69 -       if (BUILD_FULL OR BUILD_STATIC)
70 -               target_link_libraries (${testexename} ${GLIB_LIBRARIES})
71 -       endif ()
72 -
73 -       add_test (NAME ${testexename}
74 -                 COMMAND "${CMAKE_BINARY_DIR}/bin/${testexename}" "${CMAKE_CURRENT_SOURCE_DIR}"
75 -                 WORKING_DIRECTORY "${WORKING_DIRECTORY}")
76 -       set_property (TEST ${testexename} PROPERTY ENVIRONMENT "LD_LIBRARY_PATH=${CMAKE_BINARY_DIR}/lib")
77 -
78         add_subdirectory (example)
79  endif ()
80 --- elektra-0.8.23/CMakeLists.txt~      2018-05-13 18:57:57.000000000 +0200
81 +++ elektra-0.8.23/CMakeLists.txt       2021-03-04 23:21:10.222371932 +0100
82 @@ -85,7 +85,6 @@
83  
84         add_subdirectory (src)
85         add_subdirectory (examples)
86 -       add_subdirectory (benchmarks)
87  
88         if (BUILD_TESTING)
89                 add_subdirectory (tests)
This page took 0.049247 seconds and 3 git commands to generate.