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 668973 - Test /gvariant/parser fails on Solaris 10
Test /gvariant/parser fails on Solaris 10
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: gvariant
2.30.x
Other Solaris
: Normal normal
: ---
Assigned To: Allison Karlitskaya (desrt)
gtkdev
Depends on:
Blocks:
 
 
Reported: 2012-01-29 20:59 UTC by Rafael Ostertag
Modified: 2012-03-18 03:50 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
config.log file (461.10 KB, application/octet-stream)
2012-01-29 20:59 UTC, Rafael Ostertag
  Details
Make inf testcase more forgiving (915 bytes, patch)
2012-03-18 03:50 UTC, Matthias Clasen
committed Details | Review

Description Rafael Ostertag 2012-01-29 20:59:08 UTC
Created attachment 206374 [details]
config.log file

On Solaris 10, the test /gvariant/parser fails:

  /gvariant/parser:                                                    **
ERROR:gvariant.c:3730:test_parses: assertion failed (tests[i] == printed): ("inf" == "infinity")
FAIL
GTester: last random seed: R02S7467ef9fefd2318f8fc5e93c7552c088
/bin/bash: line 1:  7520 Terminated              MALLOC_CHECK_=2 MALLOC_PERTURB_=$((${RANDOM:-256} % 256)) ../../glib/gtester --verbose testing option-context option-argv0 keyfile fileutils test-printf protocol rand strfuncs string markup-parse markup-collect markup-escape markup-subparser array-test hostutils gvariant mem-overflow utf8-performance utils regex base64 sequence scannerapi shell collate utf8-pointer utf8-validate utf8-misc unicode checksum hmac hash cache date node convert list slist queue tree uri dir pattern logging error bookmarkfile gdatetime timeout environment mappedfile dataset sort unix unix-nothreads bitlock
gmake[4]: *** [test-nonrecursive] Error 143
Comment 1 Matthias Clasen 2012-03-18 03:50:42 UTC
The following fix has been pushed:
8c2434f Make inf testcase more forgiving
Comment 2 Matthias Clasen 2012-03-18 03:50:45 UTC
Created attachment 210026 [details] [review]
Make inf testcase more forgiving

printf may produce "infinity" instead of "inf".