[Bug 676935] New: gstdatetime: Unit test fails in Windows
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Sun May 27 13:30:37 PDT 2012
https://bugzilla.gnome.org/show_bug.cgi?id=676935
GStreamer | gstreamer (core) | git
Summary: gstdatetime: Unit test fails in Windows
Classification: Platform
Product: GStreamer
Version: git
OS/Version: Windows
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gstreamer (core)
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: raimo.jarvi at gmail.com
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Unit test doesn't compile in Windows / mingw-w64:
gst/gstdatetime.c: In function ‘test_GstDateTime_get_utc_offset’:
gst/gstdatetime.c:280:39: error: ‘struct tm’ has no member named ‘tm_gmtoff’
After disabling tm_gmtoff check the test compiles, but fails with:
Running suite(s): GstDateTime
81%: Checks: 11, Failures: 2, Errors: 0
gst/gstdatetime.c:77:F:general:test_GstDateTime_new_from_unix_epoch_local_time:0:
'gst_date_time_get_hour (dt)' (19) is not equal to 'tm.tm_hour' (22)
gst/gstdatetime.c:52:F:general:test_GstDateTime_now:0: 'gst_date_time_get_hour
(dt)' (19) is not equal to 'tm.tm_hour' (22)
Local time is 22:xx and GMT is 19:xx, so apparently GMT offset doesn't work in
Windows.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list