Files
Bartosz Golaszewski 1e477be454 libgpiod: disable C++ tests for libgpiod v1.6.x
Catch2 recipe is moving to version 3 of the Catch2 API which will make
the C++ tests in libgpiod uncompatible. libgpiod v2 as ported to the new
interface but v1.6.x will not be so just disable building the C++ tests.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-06-11 07:46:44 -07:00

34 lines
940 B
Diff

From 8293f0b8a329beed542f5c8a2efa4641759fccf4 Mon Sep 17 00:00:00 2001
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Date: Tue, 11 Jun 2024 10:34:14 +0200
Subject: [PATCH] bindings: cxx: disable tests
Meta-openembedded is moving to catch2 v3 which will make the C++ tests
incompatible with the testing library. As this is an older version of
the project, just disable C++ tests entirely.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
---
Upstream-Status: Inappropriate [upstream continues to use Catch2 v2]
bindings/cxx/Makefile.am | 6 ------
1 file changed, 6 deletions(-)
diff --git a/bindings/cxx/Makefile.am b/bindings/cxx/Makefile.am
index 5c40ceb..d901836 100644
--- a/bindings/cxx/Makefile.am
+++ b/bindings/cxx/Makefile.am
@@ -19,9 +19,3 @@ pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libgpiodcxx.pc
SUBDIRS = . examples
-
-if WITH_TESTS
-
-SUBDIRS += tests
-
-endif
--
2.40.1