File: 0004-tests-disable-rest-server-tests-for-now.patch

package info (click to toggle)
opencpn 1%3A5.12.4%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 166,736 kB
  • sloc: ansic: 521,943; cpp: 368,070; xml: 84,150; sh: 5,419; python: 1,833; makefile: 103; perl: 83; javascript: 65; cs: 65; ruby: 21
file content (22 lines) | stat: -rw-r--r-- 653 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Alec Leamas <leamas.alec@gmail.com>
Date: Sat, 10 Aug 2024 09:49:04 +0200
Subject: tests: disable rest server tests for now

Bug: https://github.com/OpenCPN/OpenCPN/issues/4090
---
 test/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 6b70259..cf1c76f 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -32,7 +32,7 @@ if (MSVC)
   set(CURL_HINTS C:\\mingw64\\bin C:\\ProgramData\\chocolatey\\bin)
 endif ()
 find_program(CURL NAMES curl HINTS ${CURL_HINTS})
-if (CURL)
+if (CURL AND NOT OCPN_DISTRO_BUILD)
   list(APPEND SRC rest-tests.cpp)
 endif ()