summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libnl/files/enable-serial-tests.patch
diff options
context:
space:
mode:
authorYi Fan Yu <yifan.yu@windriver.com>2021-02-19 01:03:09 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-02-21 22:01:28 +0000
commitd920e8cb33bc82945cefa2371c5a491dd28fd1b4 (patch)
tree4080a85dbe4f0d7d7e1b44219a8a59c12a441dcf /meta/recipes-support/libnl/files/enable-serial-tests.patch
parentd54cada0629176ba916ad48103cbb62436561062 (diff)
downloadpoky-d920e8cb33bc82945cefa2371c5a491dd28fd1b4.tar.gz
libnl: add ptest support
All tests are installed, but only what `make check` runs is run, so currently that's 1 test named `check-all` `libcheck` needs to be present for ./configure to generate the check* tests. An issue asking about upstream testing strategy is opened at https://github.com/thom311/libnl/issues/270 (From OE-Core rev: 23a785a373f76a24f4f7dd867522ce296cbf30f3) Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libnl/files/enable-serial-tests.patch')
-rw-r--r--meta/recipes-support/libnl/files/enable-serial-tests.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-support/libnl/files/enable-serial-tests.patch b/meta/recipes-support/libnl/files/enable-serial-tests.patch
new file mode 100644
index 0000000000..8ea53f8748
--- /dev/null
+++ b/meta/recipes-support/libnl/files/enable-serial-tests.patch
@@ -0,0 +1,28 @@
1From b1476d89bf7a0bc6062438731ee4e9026696328b Mon Sep 17 00:00:00 2001
2From: Eric Xu <chi.xu@windriver.com>
3Date: Fri, 9 Mar 2018 03:38:49 +0000
4Subject: [PATCH] Add ptest for libnl
5
6serial-tests is required to generate those targets.
7
8Signed-off-by: Eric Xu <chi.xu@windriver.com>
9---
10 configure.ac | 2 +-
11 1 files changed, 1 insertion(+), 1 deletions(-)
12
13diff --git a/configure.ac b/configure.ac
14index dfead98..2cc8257 100644
15--- a/configure.ac
16+++ b/configure.ac
17@@ -46,7 +46,7 @@ AC_INIT(libnl, [libnl_version], [], [], [http://www.infradead.org/~tgr/libnl/])
18 AC_CONFIG_HEADERS([lib/defs.h])
19 AC_CONFIG_AUX_DIR([build-aux])
20 AC_CONFIG_MACRO_DIR([m4])
21-AM_INIT_AUTOMAKE([-Wall foreign subdir-objects])
22+AM_INIT_AUTOMAKE([-Wall foreign subdir-objects serial-tests])
23 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES(yes)], [])
24 m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
25
26--
272.13.3
28