[cpputest] update to 4.0 (#44317)

This commit is contained in:
toge 2025-03-13 02:41:17 +09:00 committed by GitHub
parent cd407c8bd5
commit 8589037d73
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 14 additions and 28 deletions

View File

@ -1,20 +0,0 @@
diff --git a/tests/CppUTest/CMakeLists.txt b/tests/CppUTest/CMakeLists.txt
index 7df07c1..d7317aa 100644
--- a/tests/CppUTest/CMakeLists.txt
+++ b/tests/CppUTest/CMakeLists.txt
@@ -56,4 +56,4 @@ add_executable(CppUTestTests ${CppUTestTests_src})
cpputest_normalize_test_output_location(CppUTestTests)
target_link_libraries(CppUTestTests CppUTest ${THREAD_LIB})
-cpputest_buildtime_discover_tests(CppUTestTests)
+#cpputest_buildtime_discover_tests(CppUTestTests)
diff --git a/tests/CppUTestExt/CMakeLists.txt b/tests/CppUTestExt/CMakeLists.txt
index b83ceb2..2abf274 100644
--- a/tests/CppUTestExt/CMakeLists.txt
+++ b/tests/CppUTestExt/CMakeLists.txt
@@ -37,4 +37,4 @@ endif (MINGW)
add_executable(CppUTestExtTests ${CppUTestExtTests_src})
cpputest_normalize_test_output_location(CppUTestExtTests)
target_link_libraries(CppUTestExtTests CppUTest CppUTestExt ${THREAD_LIB} ${CPPUNIT_EXTERNAL_LIBRARIES})
-cpputest_buildtime_discover_tests(CppUTestExtTests)
+#cpputest_buildtime_discover_tests(CppUTestExtTests)

View File

@ -3,15 +3,17 @@ vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO cpputest/cpputest
REF 4699da9942a1bdcc33e2a8c8a48e863b0f18188e
SHA512 6f588691f1b4092b3be8167ab09f3a4a64c34715ac9397210724121d161024a43b12a88198b02b0cc8da7d72406670daaf375bb64cc4cf92c8bd2479e7a881bc
REF "v${VERSION}"
SHA512 5f7d6f9e34a462b35a0161a7486fd56074f5b07f92d029a3c57741c72df7bbc6ea4f98b1e57e9c500ad6d57c303d222afe523d59ec943f4461f67ce5be74dd77
HEAD_REF master
PATCHES
fix-arm-build-error.patch
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DTESTS=OFF
-DTESTS_DETALED=OFF
-DTESTS_BUILD_DISCOVER=OFF
)
vcpkg_cmake_install()

View File

@ -1,7 +1,6 @@
{
"name": "cpputest",
"version": "2019-9-16",
"port-version": 3,
"version": "4.0",
"description": "CppUTest unit testing and mocking framework for C/C++.",
"homepage": "https://github.com/cpputest/cpputest",
"license": "BSD-3-Clause",

View File

@ -2013,8 +2013,8 @@
"port-version": 4
},
"cpputest": {
"baseline": "2019-9-16",
"port-version": 3
"baseline": "4.0",
"port-version": 0
},
"cppwinrt": {
"baseline": "2.0.240405.15",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "a9756663709077665befaa7b71f9278f4613ef49",
"version": "4.0",
"port-version": 0
},
{
"git-tree": "9db5c5203e4af2efa89f513a14314e8bde14f24a",
"version": "2019-9-16",