summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/libgpiod/libgpiod-1.x
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-support/libgpiod/libgpiod-1.x')
-rw-r--r--meta-oe/recipes-support/libgpiod/libgpiod-1.x/0001-bindings-cxx-disable-tests.patch33
-rw-r--r--meta-oe/recipes-support/libgpiod/libgpiod-1.x/run-ptest2
2 files changed, 34 insertions, 1 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 @@
1From 8293f0b8a329beed542f5c8a2efa4641759fccf4 Mon Sep 17 00:00:00 2001
2From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
3Date: Tue, 11 Jun 2024 10:34:14 +0200
4Subject: [PATCH] bindings: cxx: disable tests
5
6Meta-openembedded is moving to catch2 v3 which will make the C++ tests
7incompatible with the testing library. As this is an older version of
8the project, just disable C++ tests entirely.
9
10Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
11---
12Upstream-Status: Inappropriate [upstream continues to use Catch2 v2]
13
14 bindings/cxx/Makefile.am | 6 ------
15 1 file changed, 6 deletions(-)
16
17diff --git a/bindings/cxx/Makefile.am b/bindings/cxx/Makefile.am
18index 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--
322.40.1
33
diff --git a/meta-oe/recipes-support/libgpiod/libgpiod-1.x/run-ptest b/meta-oe/recipes-support/libgpiod/libgpiod-1.x/run-ptest
index 61b9b69fc6..a56c2bb685 100644
--- a/meta-oe/recipes-support/libgpiod/libgpiod-1.x/run-ptest
+++ b/meta-oe/recipes-support/libgpiod/libgpiod-1.x/run-ptest
@@ -1,6 +1,6 @@
1#!/bin/sh 1#!/bin/sh
2 2
3testbins="gpiod-test gpio-tools-test gpiod-cxx-test gpiod_py_test.py" 3testbins="gpiod-test gpio-tools-test gpiod_py_test.py"
4 4
5ptestdir=$(dirname "$(readlink -f "$0")") 5ptestdir=$(dirname "$(readlink -f "$0")")
6cd $ptestdir/tests 6cd $ptestdir/tests