After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 617721 - 3 changes to testsuite needed to make 2.24.0 pass "make check" on Windows XP SP3
3 changes to testsuite needed to make 2.24.0 pass "make check" on Windows XP SP3
Status: RESOLVED OBSOLETE
Product: glib
Classification: Platform
Component: win32
2.24.x
Other Windows
: Normal minor
: ---
Assigned To: gtk-win32 maintainers
gtk-win32 maintainers
Depends on:
Blocks:
 
 
Reported: 2010-05-05 06:22 UTC by Brent Baccala
Modified: 2018-05-24 12:16 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
unified diff (2.89 KB, application/octet-stream)
2010-05-05 06:22 UTC, Brent Baccala
Details

Description Brent Baccala 2010-05-05 06:22:36 UTC
Created attachment 160321 [details]
unified diff

1. The use of gdb at the end of run-assert-msg-test.sh fails on Windows,
   and doesn't seem very portable anyway.  It also fails to test
   functionality, instead testing implementation.  I commented it out.

2. The diff in run-markup-tests.sh needs --strip-trailing-cr to pass
   on Windows.

3. "gobject/ performance" can fail with a division by zero if the timers
   can't resolve a fine enough time and report 0 time elapsed.  Check for
   this condition and skip the test if it happens.

On the subject of (3), I'm running XP SP3 in a VMware virtual machine, so
that might impact the behavior of the timers.  In any event, running
"testglib -m slow --verbose" reports (in part):

===============================================================

GTest: run: /testglib/Timers (slow)
checking timers...
  spinning for 3 seconds...
ok
checking g_timer_continue...
        run for 1 second...
        stop for 1 second...
        run for 2 seconds...
        stop for 1.5 seconds...
        run for 0.2 seconds...
        stop for 4 seconds...
        run for 5.8 seconds...
        => timer = 9.015625 = 9.015625 (should be: 9.000000) (0.015625 off)
g_timer_continue ... ok

        => timer2 = 15.515625 = 15.515625 (should be: 15.500000) (0.015625 off)

timer2 ... ok

GTest: result: OK

===============================================================

I'll just note that 0.015625 = 2^-6.  Don't know if that's significant.
Comment 1 GNOME Infrastructure Team 2018-05-24 12:16:11 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/glib/issues/291.