public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Mamoru TASAKA <mtasaka@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/libetpan] rawhide: enable most plaintext-rendering unittest
Date: Sun, 31 May 2026 12:04:07 GMT	[thread overview]
Message-ID: <178022904771.1.17860894788006222624.rpms-libetpan-28c63813630c@fedoraproject.org> (raw)

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
 

                 reply	other threads:[~2026-05-31 12:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178022904771.1.17860894788006222624.rpms-libetpan-28c63813630c@fedoraproject.org \
    --to=mtasaka@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox