Bug 445734

Summary: kalarmcal-21.08.3: KADateTimeTest test failure without TZ=UTC
Product: [Frameworks and Libraries] kalarmcal Reporter: James Beddek <telans>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: normal CC: sam
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: LastTest.log

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