summary refs log tree commit diff
diff options
context:
space:
mode:
authorVladimír Čunát <v@cunat.cz>2023-08-20 09:21:21 +0200
committerMaximilian Bosch <maximilian@mbosch.me>2023-09-24 15:12:08 +0200
commit8c66a65495aa851bfb1d5e3869f109efedf3f0ab (patch)
treeeec7c5f9b36a2aa5c0942d926a69a7d99fd6a011
parent25b89fa9476a7b011ed6582d8e36d9a4fb4f8411 (diff)
downloadnixpkgs-8c66a65495aa851bfb1d5e3869f109efedf3f0ab.tar
nixpkgs-8c66a65495aa851bfb1d5e3869f109efedf3f0ab.tar.gz
nixpkgs-8c66a65495aa851bfb1d5e3869f109efedf3f0ab.tar.bz2
nixpkgs-8c66a65495aa851bfb1d5e3869f109efedf3f0ab.tar.lz
nixpkgs-8c66a65495aa851bfb1d5e3869f109efedf3f0ab.tar.xz
nixpkgs-8c66a65495aa851bfb1d5e3869f109efedf3f0ab.tar.zst
nixpkgs-8c66a65495aa851bfb1d5e3869f109efedf3f0ab.zip
rapidjson: skip a regressed test
I don't think this is serious.  Surely it doesn't indicate a bug
in glibc.  And if it indicates a non-test bug in rapidjson,
it's not a new one and probably won't be worse with new glibc.
-rw-r--r--pkgs/development/libraries/rapidjson/default.nix2
-rw-r--r--pkgs/development/libraries/rapidjson/test-skip-valgrind.diff7
2 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/development/libraries/rapidjson/default.nix b/pkgs/development/libraries/rapidjson/default.nix
index f73e01b6476..b9a29c65eba 100644
--- a/pkgs/development/libraries/rapidjson/default.nix
+++ b/pkgs/development/libraries/rapidjson/default.nix
@@ -29,6 +29,8 @@ stdenv.mkDerivation rec {
       url = "https://git.alpinelinux.org/aports/plain/community/rapidjson/do-not-include-gtest-src-dir.patch?id=9e5eefc7a5fcf5938a8dc8a3be8c75e9e6809909";
       hash = "sha256-BjSZEwfCXA/9V+kxQ/2JPWbc26jQn35CfN8+8NW24s4=";
     })
+    # One of these three tests reports memcpy overlap after update to glibc-2.38
+    ./test-skip-valgrind.diff
   ];
 
   postPatch = ''
diff --git a/pkgs/development/libraries/rapidjson/test-skip-valgrind.diff b/pkgs/development/libraries/rapidjson/test-skip-valgrind.diff
new file mode 100644
index 00000000000..a791d88699f
--- /dev/null
+++ b/pkgs/development/libraries/rapidjson/test-skip-valgrind.diff
@@ -0,0 +1,7 @@
+--- a/test/unittest/CMakeLists.txt
++++ b/test/unittest/CMakeLists.txt
+@@ -82,3 +81,0 @@
+-    add_test(NAME valgrind_unittest
+-        COMMAND valgrind --leak-check=full --error-exitcode=1 ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/unittest --gtest_filter=-SIMD.*
+-        WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin)
+