File: disable_network_tests.patch

package info (click to toggle)
simgear 1%3A2020.3.19%2Bdfsg-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,212 kB
  • sloc: cpp: 86,895; ansic: 14,497; xml: 903; makefile: 31
file content (30 lines) | stat: -rw-r--r-- 947 bytes parent folder | download | duplicates (4)
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
From: Markus Wanner <markus@bluegap.ch>
Date: Tue, 16 Jun 2020 14:29:04 +0200
Subject: Disable tests requiring network access.

Forwarded: not-needed
Last-Update: 2018-11-11

Disable all tests requiring network access.  Keep building the test
binaries, as we still want to catch failures to build them.
---
 simgear/io/CMakeLists.txt | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/simgear/io/CMakeLists.txt b/simgear/io/CMakeLists.txt
index b732f9c..f972631 100644
--- a/simgear/io/CMakeLists.txt
+++ b/simgear/io/CMakeLists.txt
@@ -59,12 +59,9 @@ target_link_libraries(test_sock ${TEST_LIBS})
 add_executable(test_http test_HTTP.cxx)
 target_link_libraries(test_http ${TEST_LIBS})
 
-add_test(http ${EXECUTABLE_OUTPUT_PATH}/test_http)
-
 if(ENABLE_DNS)
 	add_executable(test_dns test_DNS.cxx)
 	target_link_libraries(test_dns ${TEST_LIBS})
-	add_test(dns ${EXECUTABLE_OUTPUT_PATH}/test_dns)
 endif()
 
 add_executable(httpget httpget.cxx)