public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/libetpan] rawhide: enable most plaintext-rendering unittest
@ 2026-05-31 12:04 Mamoru TASAKA
0 siblings, 0 replies; only message in thread
From: Mamoru TASAKA @ 2026-05-31 12:04 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/libetpan
Branch : rawhide
Commit : 28c63813630cbd5062272a6b6674866502a5a414
Author : Mamoru TASAKA <mtasaka@fedoraproject.org>
Date : 2026-05-31T21:03:27+09:00
Stats : +11/-6 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/libetpan/c/28c63813630cbd5062272a6b6674866502a5a414?branch=rawhide
Log:
enable most plaintext-rendering unittest
---
diff --git a/libetpan.spec b/libetpan.spec
index b4cdc96..d32b886 100644
--- a/libetpan.spec
+++ b/libetpan.spec
@@ -1,6 +1,6 @@
Name: libetpan
Version: 1.10
-Release: 0.101%{?dist}
+Release: 0.102%{?dist}
Summary: Portable, efficient middle-ware for different kinds of mail access
# src/bsd/getopt.c BSD-4-Clause (not used)
@@ -92,7 +92,6 @@ iconv -f iso8859-1 -t utf-8 ChangeLog > ChangeLog.conv && mv -f ChangeLog.conv C
%check
# unittest
-# plaintext-rendering does not work well
export LD_LIBRARY_PATH=$(pwd)/src/.libs
pushd unittest
@@ -103,10 +102,16 @@ sed -i.shared Makefile \
-e 's|\$(TIDY_LDLIBS) |$(TIDY_LDLIBS) -lm |' \
%{nil}
-# plaintext_rendering_test does not work well
-sed -i.opt Makefile \
- -e '\@cd plaintext-rendering@s|./plaintext_rendering_test|true ./plaintext_rendering_test|' \
- %{nil}
+# plaintext_rendering_test: needs TZ (PDT)
+# also, one test fails
+export TZ="America/Los_Angeles"
+pushd plaintext-rendering/data
+if [ ! -d input-fail ] ; then
+ mkdir input-fail
+ mv input/5231-emoji.eml input-fail/
+fi
+popd
+
make
make check
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-05-31 12:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-31 12:04 [rpms/libetpan] rawhide: enable most plaintext-rendering unittest Mamoru TASAKA
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox