aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/apt/apt/disable-test.patch
blob: 0532671747ec380c32ed9f1c297a31badc0314ee (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
From 67bc7948e0a721c75d636931abc105da5dcb0763 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?An=C3=ADbal=20Lim=C3=B3n?= <anibal.limon@linux.intel.com>
Date: Thu, 26 May 2016 15:32:11 -0500
Subject: [PATCH] [PATCH] disable test
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Upstream-Status: Inappropriate [configuration]

test needs gtest package, so not build the test dir

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
---
 Makefile     | 9 +++------
 configure.ac | 7 -------
 2 files changed, 3 insertions(+), 13 deletions(-)

diff --git a/Makefile b/Makefile
index 7680f08..69527a5 100644
--- a/Makefile
+++ b/Makefile
@@ -9,8 +9,8 @@ endif
 .PHONY: default
 default: startup all
 
-.PHONY: fast headers library clean veryclean all binary program doc test update-po
-all headers library clean veryclean binary program doc manpages docbook test update-po startup dirs:
+.PHONY: fast headers library clean veryclean all binary program doc update-po
+all headers library clean veryclean binary program doc manpages docbook update-po startup dirs:
 	$(MAKE) -C vendor $@
 	$(MAKE) -C apt-pkg $@
 	$(MAKE) -C apt-inst $@
@@ -21,8 +21,6 @@ all headers library clean veryclean binary program doc manpages docbook test upd
 	$(MAKE) -C dselect $@
 	$(MAKE) -C doc $@
 	$(MAKE) -C po $@
-	# FIXME: -C test has issue swith parallel builds, investigate!
-	-$(MAKE) -C test $@
 
 fast:
 	$(MAKE) -C vendor all
@@ -32,9 +30,8 @@ fast:
 	$(MAKE) -C methods all
 	$(MAKE) -C cmdline all
 	$(MAKE) -C ftparchive all
-	$(MAKE) -C test all
 
-all headers library clean veryclean binary program doc manpages docbook test update-po: startup dirs
+all headers library clean veryclean binary program doc manpages docbook update-po: startup dirs
 
 dirs: startup
 
diff --git a/configure.ac b/configure.ac
index 1f05da5..e47f459 100644
--- a/configure.ac
+++ b/configure.ac
@@ -90,13 +90,6 @@ AC_CHECK_LIB(curl, curl_easy_init,
      AC_MSG_ERROR([failed: I need CURL due https support]),
 )
 
-AC_LANG_PUSH([C++])
-AC_CHECK_HEADER(gtest/gtest.h,,
-     AC_MSG_WARN([failed: I need gtest (packaged as libgtest-dev) for unit testing]),
-)
-AC_LANG_POP([C++])
-
-
 AC_SUBST(BDBLIB)
 
 HAVE_ZLIB=no
-- 
2.1.4