Skip to content

Commit 6bd88bd

Browse files
committed
qpdf: disable timestamp test for now (#435883)
2 parents e36af0f + 3d9a85a commit 6bd88bd

File tree

2 files changed

+41
-0
lines changed

2 files changed

+41
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
diff --git a/libtests/qtest/qutil/qutil.out b/libtests/qtest/qutil/qutil.out
2+
index a5f7b108c7..08c6c2eccc 100644
3+
--- a/libtests/qtest/qutil/qutil.out
4+
+++ b/libtests/qtest/qutil/qutil.out
5+
@@ -126,13 +126,6 @@
6+
create file
7+
rename over existing
8+
delete file
9+
----- timestamp
10+
-D:20210209144925-05'00'
11+
-2021-02-09T14:49:25-05:00
12+
-D:20210210011925+05'30'
13+
-2021-02-10T01:19:25+05:30
14+
-D:20210209191925Z
15+
-2021-02-09T19:19:25Z
16+
---- is_long_long
17+
done
18+
---- memory usage
19+
diff --git a/libtests/qutil.cc b/libtests/qutil.cc
20+
index 78ae82c8e3..daa9281a19 100644
21+
--- a/libtests/qutil.cc
22+
+++ b/libtests/qutil.cc
23+
@@ -766,8 +766,6 @@
24+
hex_encode_decode_test();
25+
std::cout << "---- rename/delete" << std::endl;
26+
rename_delete_test();
27+
- std::cout << "---- timestamp" << std::endl;
28+
- timestamp_test();
29+
std::cout << "---- is_long_long" << std::endl;
30+
is_long_long_test();
31+
std::cout << "---- memory usage" << std::endl;

pkgs/by-name/qp/qpdf/package.nix

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,16 @@ stdenv.mkDerivation (finalAttrs: {
6464

6565
doCheck = true;
6666

67+
# Cursed system‐dependent(?!) failure with libc++ because another
68+
# test in the same process sets the global locale; skip for now.
69+
#
70+
# See:
71+
# * <https://github.com/llvm/llvm-project/issues/39399>
72+
# * <https://github.com/llvm/llvm-project/issues/123309>
73+
${if stdenv.cc.libcxx != null then "patches" else null} = [
74+
./disable-timestamp-test.patch
75+
];
76+
6777
passthru.tests = {
6878
pkg-config = testers.hasPkgConfigModules { package = finalAttrs.finalPackage; };
6979
inherit (python3.pkgs) pikepdf;

0 commit comments

Comments
 (0)