diff options
Diffstat (limited to 'meta-oe/recipes-support/libgpiod/libgpiod-1.x/0001-bindings-cxx-disable-tests.patch')
-rw-r--r-- | meta-oe/recipes-support/libgpiod/libgpiod-1.x/0001-bindings-cxx-disable-tests.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/libgpiod/libgpiod-1.x/0001-bindings-cxx-disable-tests.patch b/meta-oe/recipes-support/libgpiod/libgpiod-1.x/0001-bindings-cxx-disable-tests.patch new file mode 100644 index 0000000000..0b850ba138 --- /dev/null +++ b/meta-oe/recipes-support/libgpiod/libgpiod-1.x/0001-bindings-cxx-disable-tests.patch | |||
@@ -0,0 +1,33 @@ | |||
1 | From 8293f0b8a329beed542f5c8a2efa4641759fccf4 Mon Sep 17 00:00:00 2001 | ||
2 | From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | ||
3 | Date: Tue, 11 Jun 2024 10:34:14 +0200 | ||
4 | Subject: [PATCH] bindings: cxx: disable tests | ||
5 | |||
6 | Meta-openembedded is moving to catch2 v3 which will make the C++ tests | ||
7 | incompatible with the testing library. As this is an older version of | ||
8 | the project, just disable C++ tests entirely. | ||
9 | |||
10 | Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | ||
11 | --- | ||
12 | Upstream-Status: Inappropriate [upstream continues to use Catch2 v2] | ||
13 | |||
14 | bindings/cxx/Makefile.am | 6 ------ | ||
15 | 1 file changed, 6 deletions(-) | ||
16 | |||
17 | diff --git a/bindings/cxx/Makefile.am b/bindings/cxx/Makefile.am | ||
18 | index 5c40ceb..d901836 100644 | ||
19 | --- a/bindings/cxx/Makefile.am | ||
20 | +++ b/bindings/cxx/Makefile.am | ||
21 | @@ -19,9 +19,3 @@ pkgconfigdir = $(libdir)/pkgconfig | ||
22 | pkgconfig_DATA = libgpiodcxx.pc | ||
23 | |||
24 | SUBDIRS = . examples | ||
25 | - | ||
26 | -if WITH_TESTS | ||
27 | - | ||
28 | -SUBDIRS += tests | ||
29 | - | ||
30 | -endif | ||
31 | -- | ||
32 | 2.40.1 | ||
33 | |||