cpputest: update to latest revision
PATCH 1/1 cpputest: update to latest revision
The maintainers of cpputest haven't created a release for over 5 years, however the application is still under very active development.
The maintainers claim that every commit that goes through their CI is stable just like a tagged release[1] - so update to the latest revision.
Also, update the cmake options, and remove the obsolete ones. Drop the patches as well, as they are included in this revision.
[1]: https://github.com/cpputest/cpputest/issues/1651
Signed-off-by Gyorgy Sarvari <[email protected]>
---
...um_required-before-project-in-CMakeL.patch | 36 ----------------
.../0002-Squelch-deprecation-warning.patch | 43 -------------------
.../{cpputest_4.0.bb => cpputest_git.bb} | 15 +++----
3 files changed, 5 insertions(+), 89 deletions(-)
delete mode 100644 meta-oe/recipes-test/cpputest/cpputest/0001-Call-cmake_minimum_required-before-project-in-CMakeL.patch
delete mode 100644 meta-oe/recipes-test/cpputest/cpputest/0002-Squelch-deprecation-warning.patch
rename meta-oe/recipes-test/cpputest/{cpputest_4.0.bb => cpputest_git.bb} (50%)meta-oe/recipes-test/cpputest/cpputest/0001-Call-cmake_minimum_required-before-project-in-CMakeL.patch deleted +0 -36
@@ -1,36 +0,0 @@ -From 5351875cde23340c0a98fe46566cde5535c40e21 Mon Sep 17 00:00:00 2001 -From: georgev93 <[email protected]> -Date: Fri, 26 Jun 2020 19:07:14 -0400 -Subject: [PATCH 1/2] Call cmake_minimum_required() before project() in - CMakeLists.txt. - -From https://cmake.org/cmake/help/latest/command/cmake_minimum_required.html: -Note: Call the cmake_minimum_required() command at the beginning of the top-level CMakeLists.txt file even before calling the project() command. It is important to establish version and policy settings before invoking other commands whose behavior they may affect. See also policy CMP0000. - -Signed-off-by: Moritz Haase <[email protected]> -Upstream-Status: Backport [e0c050d8b614294b2215a62e64628470fab67f20] ---- - CMakeLists.txt | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 88e0cfb5..d36c6491 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -1,12 +1,12 @@ -+# 2.6.3 is needed for ctest support -+# 3.1 is needed for target_sources -+cmake_minimum_required(VERSION 3.1) -+ - project(CppUTest) - - set(CppUTest_version_major 4) - set(CppUTest_version_minor 0) - --# 2.6.3 is needed for ctest support --# 3.1 is needed for target_sources --cmake_minimum_required(VERSION 3.1) -- - ############### - # Conan support - ###############
meta-oe/recipes-test/cpputest/cpputest/0002-Squelch-deprecation-warning.patch deleted +0 -43
43 lines not on this page · raw message
meta-oe/recipes-test/cpputest/cpputest_git.bb renamed from meta-oe/recipes-test/cpputest/cpputest_4.0.bb +5 -10
@@ -5,23 +5,18 @@ SECTION = "devel" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://COPYING;md5=ce5d5f1fe02bcd1343ced64a06fd4177" -SRC_URI = "git://github.com/cpputest/cpputest.git;protocol=https;branch=master \ - file://0001-Call-cmake_minimum_required-before-project-in-CMakeL.patch \ - file://0002-Squelch-deprecation-warning.patch \ -" -SRCREV = "67d2dfd41e13f09ff218aa08e2d35f1c32f032a1" +SRC_URI = "git://github.com/cpputest/cpputest.git;protocol=https;branch=master" +SRCREV = "aa49f2bfef314715c7c12c806bb44f3b85266d60" +PV = "4.0+git" inherit cmake -EXTRA_OECMAKE = "-DLONGLONG=ON \ - -DC++11=ON \ - -DTESTS=OFF \ - " +EXTRA_OECMAKE = "-DCPPUTEST_USE_LONGLONG=ON" DEV_PKG_DEPENDENCY = "" FILES:${PN}-dev += "${libdir}/CppUTest/cmake/*" PACKAGECONFIG ??= "" -PACKAGECONFIG[extensions] = "-DEXTENSIONS=ON,-DEXTENSIONS=OFF" +PACKAGECONFIG[extensions] = "-DCPPUTEST_EXTENSIONS=ON,-DCPPUTEST_EXTENSIONS=OFF"