GNU bug report logs -
#34207
grantlee fails to build
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 34207 in the body.
You can then email your comments to 34207 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#34207
; Package
guix
.
(Sat, 26 Jan 2019 11:03:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Ricardo Wurmus <rekado <at> elephly.net>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Sat, 26 Jan 2019 11:03:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Grantlee has two test failures:
--8<---------------cut here---------------start------------->8---
FAIL! : TestFilters::testDateBasedFilters(date01) Compared values are not the same
Actual (result): ""
Expected (output): "01"
Loc: [/tmp/guix-build-grantlee-5.1.0.drv-0/grantlee-5.1.0/templates/tests/testfilters.cpp(117)]
FAIL! : TestFilters::testDateBasedFilters(date02) Compared values are not the same
Actual (result): ""
Expected (output): "Jan. 1, 2008"
Loc: [/tmp/guix-build-grantlee-5.1.0.drv-0/grantlee-5.1.0/templates/tests/testfilters.cpp(117)]
--8<---------------cut here---------------end--------------->8---
The tests in templates/tests/testfilters.cpp look like this:
--8<---------------cut here---------------start------------->8---
Dict dict;
…
QDateTime d(QDate(2008, 1, 1));
dict.clear();
dict.insert(QStringLiteral("d"), d);
QTest::newRow("date01") << "{{ d|date:\"MM\" }}" << dict
<< QStringLiteral("01") << NoError;
QTest::newRow("date02") << QStringLiteral("{{ d|date }}") << dict
<< d.toString(QStringLiteral("MMM. d, yyyy"))
<< NoError;
--8<---------------cut here---------------end--------------->8---
The following test for “date03” passes:
--8<---------------cut here---------------start------------->8---
dict.insert(QStringLiteral("d"), QStringLiteral("fail_string"));
QTest::newRow("date03") << "{{ d|date:\"MM\" }}" << dict << QString()
<< NoError;
--8<---------------cut here---------------end--------------->8---
IIUC this means: some non-date is injected and the template resulted in
the empty string.
--
Ricardo
Reply sent
to
Andreas Enge <andreas <at> enge.fr>
:
You have taken responsibility.
(Sat, 05 Sep 2020 20:49:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Ricardo Wurmus <rekado <at> elephly.net>
:
bug acknowledged by developer.
(Sat, 05 Sep 2020 20:49:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 34207-done <at> debbugs.gnu.org (full text, mbox):
grantlee-5.2.0 is served as a substitute, so the problem is apparently
solved. Closing.
Andreas
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 04 Oct 2020 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 3 years and 202 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.