Bug 445734 - kalarmcal-21.08.3: KADateTimeTest test failure without TZ=UTC
Summary: kalarmcal-21.08.3: KADateTimeTest test failure without TZ=UTC
Status: REPORTED
Alias: None
Product: kalarmcal
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-19 04:51 UTC by James Beddek
Modified: 2021-11-19 05:01 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
LastTest.log (4.06 KB, text/x-log)
2021-11-19 04:52 UTC, James Beddek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description James Beddek 2021-11-19 04:51:51 UTC
SUMMARY:
Building/running the test suite with TZ=Pacific/Auckland results in the KADateTimeTest test failing with a suspiciously odd failure. Running with TZ=UTC allows the test to pass

STEPS TO REPRODUCE:
1. Run with TZ=Pacific/Auckland, observe failure as below
2. Run with TZ=UTC, observe tests are successful

OBSERVED RESULT:
FAIL!  : KADateTimeTest::constructors() Compared values are not the same
   Actual   (datetimeL.qDateTime()): 2001/02/13 03:45:14.000[PST]
   Expected (dtLocal)              : 2001/02/13 03:45:14.000[PST]
   Loc: [/var/tmp/portage/kde-apps/kalarmcal-21.08.3/work/kalarmcal-21.08.3/autotests/kadatetimetest.cpp(331)]

As far as I can tell the results are the exact same.

EXPECTED RESULT:
Test passes.

SOFTWARE/OS VERSIONS:
Linux/KDE Plasma: Gentoo ~amd64
(available in About System)
KDE Plasma Version: 5.23.3
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.2
Comment 1 James Beddek 2021-11-19 04:52:41 UTC
Created attachment 143720 [details]
LastTest.log