0002-Disable-C-unit-tests.patch 1.79 KB
From e3c636b8c7f9912d8d3a9fabdaa0a96ba69f7b29 Mon Sep 17 00:00:00 2001
From: Gustavo Zacarias <gustavo@zacarias.com.ar>
Date: Tue, 14 Jun 2016 20:32:44 -0300
Subject: [PATCH] Disable C++ unit tests

They fail to build on static targets and they're not installed anyway.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 Makefile.in | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index 6d03912..2c42b3e 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -133,12 +133,6 @@ noinst_PROGRAMS = $(am__EXEEXT_2) $(am__EXEEXT_3) $(am__EXEEXT_4)
 @WITH_PCRE8_TRUE@am__append_20 = libpcreposix.la
 @WITH_GCOV_TRUE@@WITH_PCRE8_TRUE@am__append_21 = $(GCOV_CFLAGS)
 @WITH_PCRE_CPP_TRUE@am__append_22 = libpcrecpp.la
-@WITH_PCRE_CPP_TRUE@am__append_23 = pcrecpp_unittest \
-@WITH_PCRE_CPP_TRUE@	pcre_scanner_unittest \
-@WITH_PCRE_CPP_TRUE@	pcre_stringpiece_unittest
-@WITH_PCRE_CPP_TRUE@am__append_24 = pcrecpp_unittest \
-@WITH_PCRE_CPP_TRUE@	pcre_scanner_unittest \
-@WITH_PCRE_CPP_TRUE@	pcre_stringpiece_unittest
 @WITH_GCOV_TRUE@@WITH_PCRE_CPP_TRUE@am__append_25 = $(GCOV_CXXFLAGS)
 @WITH_GCOV_TRUE@@WITH_PCRE_CPP_TRUE@am__append_26 = $(GCOV_LIBS)
 @WITH_GCOV_TRUE@@WITH_PCRE_CPP_TRUE@am__append_27 = $(GCOV_LIBS)
@@ -362,9 +356,6 @@ libpcreposix_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \
 @WITH_PCRE8_TRUE@am__EXEEXT_1 = pcregrep$(EXEEXT)
 @WITH_REBUILD_CHARTABLES_TRUE@am__EXEEXT_2 = dftables$(EXEEXT)
 @WITH_JIT_TRUE@am__EXEEXT_3 = pcre_jit_test$(EXEEXT)
-@WITH_PCRE_CPP_TRUE@am__EXEEXT_4 = pcrecpp_unittest$(EXEEXT) \
-@WITH_PCRE_CPP_TRUE@	pcre_scanner_unittest$(EXEEXT) \
-@WITH_PCRE_CPP_TRUE@	pcre_stringpiece_unittest$(EXEEXT)
 PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS)
 am__dftables_SOURCES_DIST = dftables.c
 @WITH_REBUILD_CHARTABLES_TRUE@am_dftables_OBJECTS =  \
-- 
2.7.3