[kalarmcal] [Bug 445734] New: kalarmcal: KADateTimeTest test failure without TZ=UTC

James Beddek bugzilla_noreply at kde.org
Fri Nov 19 04:51:51 GMT 2021


https://bugs.kde.org/show_bug.cgi?id=445734

            Bug ID: 445734
           Summary: kalarmcal: KADateTimeTest test failure without TZ=UTC
           Product: kalarmcal
           Version: unspecified
          Platform: Compiled Sources
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kdepim-bugs at kde.org
          Reporter: telans at posteo.de
  Target Milestone: ---

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

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list