qpdf: disable timestamp test for now (#435883)

Changed files
+41
pkgs
+31
pkgs/by-name/qp/qpdf/disable-timestamp-test.patch
···
···
+
diff --git a/libtests/qtest/qutil/qutil.out b/libtests/qtest/qutil/qutil.out
+
index a5f7b108c7..08c6c2eccc 100644
+
--- a/libtests/qtest/qutil/qutil.out
+
+++ b/libtests/qtest/qutil/qutil.out
+
@@ -126,13 +126,6 @@
+
create file
+
rename over existing
+
delete file
+
----- timestamp
+
-D:20210209144925-05'00'
+
-2021-02-09T14:49:25-05:00
+
-D:20210210011925+05'30'
+
-2021-02-10T01:19:25+05:30
+
-D:20210209191925Z
+
-2021-02-09T19:19:25Z
+
---- is_long_long
+
done
+
---- memory usage
+
diff --git a/libtests/qutil.cc b/libtests/qutil.cc
+
index 78ae82c8e3..daa9281a19 100644
+
--- a/libtests/qutil.cc
+
+++ b/libtests/qutil.cc
+
@@ -766,8 +766,6 @@
+
hex_encode_decode_test();
+
std::cout << "---- rename/delete" << std::endl;
+
rename_delete_test();
+
- std::cout << "---- timestamp" << std::endl;
+
- timestamp_test();
+
std::cout << "---- is_long_long" << std::endl;
+
is_long_long_test();
+
std::cout << "---- memory usage" << std::endl;
+10
pkgs/by-name/qp/qpdf/package.nix
···
doCheck = true;
passthru.tests = {
pkg-config = testers.hasPkgConfigModules { package = finalAttrs.finalPackage; };
inherit (python3.pkgs) pikepdf;
···
doCheck = true;
+
# Cursed system‐dependent(?!) failure with libc++ because another
+
# test in the same process sets the global locale; skip for now.
+
#
+
# See:
+
# * <https://github.com/llvm/llvm-project/issues/39399>
+
# * <https://github.com/llvm/llvm-project/issues/123309>
+
${if stdenv.cc.libcxx != null then "patches" else null} = [
+
./disable-timestamp-test.patch
+
];
+
passthru.tests = {
pkg-config = testers.hasPkgConfigModules { package = finalAttrs.finalPackage; };
inherit (python3.pkgs) pikepdf;