Hythera
2026-04-05 14:00:51 +02:00
parent eb37af69ab
commit d2a0513c7b
2 changed files with 12 additions and 39 deletions
@@ -1,18 +0,0 @@
diff --git a/Foundation/testsuite/src/ExpireLRUCacheTest.cpp b/Foundation/testsuite/src/ExpireLRUCacheTest.cpp
--- a/Foundation/testsuite/src/ExpireLRUCacheTest.cpp
+++ b/Foundation/testsuite/src/ExpireLRUCacheTest.cpp
@@ -336 +336 @@
- CppUnit_addTest(pSuite, ExpireLRUCacheTest, testExpireN);
+ // CppUnit_addTest(pSuite, ExpireLRUCacheTest, testExpireN);
diff --git a/Foundation/testsuite/src/TimestampTest.cpp b/Foundation/testsuite/src/TimestampTest.cpp
--- a/Foundation/testsuite/src/TimestampTest.cpp
+++ b/Foundation/testsuite/src/TimestampTest.cpp
@@ -97 +97 @@
- CppUnit_addTest(pSuite, TimestampTest, testTimestamp);
+ // CppUnit_addTest(pSuite, TimestampTest, testTimestamp);
diff --git a/Foundation/testsuite/src/UniqueExpireCacheTest.cpp b/Foundation/testsuite/src/UniqueExpireCacheTest.cpp
--- a/Foundation/testsuite/src/UniqueExpireCacheTest.cpp
+++ b/Foundation/testsuite/src/UniqueExpireCacheTest.cpp
@@ -248 +248 @@
- CppUnit_addTest(pSuite, UniqueExpireCacheTest, testExpireN);
+ // CppUnit_addTest(pSuite, UniqueExpireCacheTest, testExpireN);
+12 -21
View File
@@ -2,7 +2,6 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
cmake,
nix-update-script,
pkg-config,
@@ -14,19 +13,20 @@
openssl,
unixodbc,
libmysqlclient,
libpng,
writableTmpDirAsHomeHook,
}:
stdenv.mkDerivation rec {
pname = "poco";
version = "1.14.2";
version = "1.15.1";
src = fetchFromGitHub {
owner = "pocoproject";
repo = "poco";
hash = "sha256-koREkrfAHWfpqITN5afiXwZg37Wve2Ftx8sr8t2bSV4=";
rev = "poco-${version}-release";
hash = "sha256-JyjEs5aecKSdrNEaSs4Dzs3mAu2rhhBNAG93VLHdU3E=";
tag = "poco-${version}-release";
};
nativeBuildInputs = [
@@ -37,6 +37,7 @@ stdenv.mkDerivation rec {
buildInputs = [
unixodbc
libmysqlclient
libpng
];
propagatedBuildInputs = [
@@ -79,23 +80,13 @@ stdenv.mkDerivation rec {
(lib.cmakeFeature "CMAKE_CTEST_ARGUMENTS" "--exclude-regex;'${excludeTestsRegex}'")
];
patches = [
# Remove on next release
(fetchpatch {
name = "disable-included-pcre-if-pcre-is-linked-staticly";
# this happens when building pkgsStatic.poco
url = "https://patch-diff.githubusercontent.com/raw/pocoproject/poco/pull/4879.patch";
hash = "sha256-VFWuRuf0GPYFp43WKI8utl+agP+7a5biLg7m64EMnVo=";
})
# https://github.com/pocoproject/poco/issues/4977
./disable-flaky-tests.patch
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
./disable-broken-tests-darwin.patch
]
++ lib.optionals stdenv.hostPlatform.isLinux [
./disable-broken-tests-linux.patch
];
patches =
lib.optionals stdenv.hostPlatform.isDarwin [
./disable-broken-tests-darwin.patch
]
++ lib.optionals stdenv.hostPlatform.isLinux [
./disable-broken-tests-linux.patch
];
doCheck = true;
nativeCheckInputs = [