Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions pkgs/by-name/qp/qpdf/disable-timestamp-test.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
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 changes: 10 additions & 0 deletions pkgs/by-name/qp/qpdf/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,16 @@ stdenv.mkDerivation (finalAttrs: {

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;
Expand Down
Loading