File: disable-pac-test.patch

package info (click to toggle)
libproxy 0.4.18-1.2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 944 kB
  • sloc: cpp: 4,101; sh: 187; ansic: 111; cs: 71; makefile: 54; python: 53; perl: 42; ruby: 8
file content (25 lines) | stat: -rw-r--r-- 924 bytes parent folder | download | duplicates (2)
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
From: Alexandre Rostovtsev <tetromino@gentoo.org>
Date: Tue, 16 Oct 2012 03:30:50 -0400
Subject: Disable PAC test

get-pac-test freezes when run from the ebuild, but succeeds when
building manually. Using Xemake/virtualx.eclass doesn't seem to help.
---
 libproxy/test/CMakeLists.txt | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/libproxy/test/CMakeLists.txt b/libproxy/test/CMakeLists.txt
index 8894425..69543a4 100644
--- a/libproxy/test/CMakeLists.txt
+++ b/libproxy/test/CMakeLists.txt
@@ -17,10 +17,3 @@ if(WIN32)
   target_link_libraries(url-encode ws2_32)
 endif()
 add_test(NAME url-encode COMMAND ${CMAKE_CURRENT_BINARY_DIR}/url-encode)
-
-# Get PAC
-if (NOT WIN32)
-add_executable(get-pac-test ${CMAKE_CURRENT_SOURCE_DIR}/get-pac-test.cpp ${PROJECT_SOURCE_DIR}/url.cpp)
-target_link_libraries(get-pac-test pthread)
-add_test(NAME get-pac-test COMMAND ${CMAKE_CURRENT_BINARY_DIR}/get-pac-test)
-endif()