blob: 69ac5065ea71131d6d8e9cce1d06558795ec36c4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -17,13 +17,6 @@
return()
endif()
-add_test(
- NAME test-init-py
- COMMAND ${Python3_EXECUTABLE} -m pytest
- ${CMAKE_CURRENT_SOURCE_DIR}/test_init.py
- -v
-)
-
set(_test_init_py_env "UPNP_BUILD_DIR=${CMAKE_BINARY_DIR}")
if(CMAKE_C_FLAGS MATCHES "sanitize=address" OR
CMAKE_SHARED_LINKER_FLAGS MATCHES "sanitize=address")
@@ -38,10 +31,6 @@
list(APPEND _test_init_py_env "ASAN_OPTIONS=detect_leaks=0")
endif()
-set_tests_properties(test-init-py PROPERTIES
- ENVIRONMENT "${_test_init_py_env}"
-)
-
add_test(
NAME test-issue-110-py
COMMAND ${Python3_EXECUTABLE} -m pytest
--- a/upnp/test/CMakeLists.txt
+++ b/upnp/test/CMakeLists.txt
@@ -1,9 +1,6 @@
UPNP_Add_Unit_Test(test-upnp-list test_list.c)
-UPNP_Add_Unit_Test(test-upnp-init test_init.c)
UPNP_Add_Unit_Test(test-upnp-log test_log.c)
UPNP_Add_Unit_Test(test-upnp-url test_url.c)
-UPNP_Add_Unit_Test(test-upnp-sock-io test_sock_io.c)
-UPNP_Add_Unit_Test(test-upnp-ssdp-req-port test_ssdp_req_port.c)
# test_threadpool_overflow calls internal ThreadPool API (ThreadPoolInit,
# TPAttrInit, …) that have hidden visibility in the shared library. Compile
# the three ThreadPool translation units directly into each test variant so
|