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 645682 - GSettings test suite is broken
GSettings test suite is broken
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: gio
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2011-03-25 21:52 UTC by David Zeuthen (not reading bugmail)
Modified: 2011-03-26 11:08 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description David Zeuthen (not reading bugmail) 2011-03-25 21:52:00 UTC
(refiling since the original bug got lost in outage)

with master from today - this is easily reproducible - happens all the time

TEST: gschema-compile... (pid=19380)
 /gschema/no-default:                                                 OK
 /gschema/missing-quotes:                                             OK
 /gschema/incomplete-list:                                            OK
 /gschema/wrong-category:                                             OK
 /gschema/bad-type:                                                   OK
 /gschema/overflow:                                                   OK
 /gschema/range-wrong-type:                                           OK
 /gschema/range-missing-min:                                          OK
 /gschema/range-missing-max:                                          OK
 /gschema/default-out-of-range:                                       OK
 /gschema/choices-wrong-type:                                         OK
 /gschema/choice-missing-value:                                       OK
 /gschema/default-not-in-choices:                                     OK
 /gschema/array-default-not-in-choices:                               OK
 /gschema/bad-key:                                                    OK
 /gschema/invalid-path:                                               OK
 /gschema/bad-key/opt:                                                OK
 /gschema/bad-key2:                                                   OK
 /gschema/bad-key2/opt:                                               OK
 /gschema/bad-key3:                                                   OK
 /gschema/bad-key3/opt:                                               OK
 /gschema/bad-key4:                                                   OK
 /gschema/bad-key4/opt:                                               OK
 /gschema/empty-key:                                                  OK
 /gschema/empty-key/opt:                                              OK
 /gschema/enum:                                                       OK
 /gschema/enum-with-aliases:                                          OK
 /gschema/enum-with-invalid-alias:                                    OK
 /gschema/enum-with-repeated-alias:                                   OK
 /gschema/enum-with-repeated-nick:                                    OK
 /gschema/enum-with-repeated-value:                                   OK
 /gschema/enum-with-chained-alias:                                    OK
 /gschema/enum-with-shadow-alias:                                     OK
 /gschema/enum-with-choice:                                           **
ERROR:gschema-compile.c:39:test_schema: stderr of child process (19864) failed
to match: *<choices> cannot be specified*
FAIL
GTester: last random seed: R02S125ddb4dba94809c88fe0a23eb08c8c6
/bin/sh: line 1: 18944 Terminated              MALLOC_CHECK_=2
MALLOC_PERTURB_=$((${RANDOM:-256} % 256)) ../../glib/gtester --verbose
io-stream actions memory-input-stream memory-output-stream readwrite g-file
g-file-info converter-stream data-input-stream data-output-stream g-icon
buffered-input-stream buffered-output-stream sleepy-stream filter-streams
volumemonitor simple-async-result srvtarget contexts gsettings gschema-compile
async-close-output-stream gdbus-addresses network-address gdbus-message socket
pollable gdbus-connection gdbus-connection-slow gdbus-names gdbus-proxy
gdbus-proxy-well-known-name gdbus-introspection gdbus-threading gdbus-export
gdbus-error gdbus-peer gdbus-exit-on-close gdbus-non-socket gdbus-bz627724
appinfo contenttype file live-g-file desktop-app-info unix-fd unix-streams
gapplication gdbus-serialization
make[1]: *** [test-nonrecursive] Error 143
make[1]: Leaving directory `/home/davidz/Hacking/glib/gio/tests'
make: *** [check-am] Error 2
Comment 1 David Zeuthen (not reading bugmail) 2011-03-25 21:53:29 UTC
(readding Ryan's comment that was lost in outage)

Ryan Lortie (desrt) <desrt> changed:

          What    |Removed                     |Added
----------------------------------------------------------------------------
            Status|UNCONFIRMED                 |NEW
    Ever Confirmed|0                           |1

--- Comment #1 from Ryan Lortie (desrt) <desrt@desrt.ca> 2011-03-24 14:19:18 UTC ---
sed patch gone bad:

commit 30fdc1a79938540af7bad0af68d0a3b8af14f117
Author: Murray Cumming <murrayc@murrayc.com>
Date:   Thu Mar 24 09:33:55 2011 +0100

   Docs: Changed can not to cannot.

 gio/gapplication.c          |    4 ++--
 gio/gsettings.h             |    2 +-
 gio/gvdb/gvdb-reader.c      |    2 +-
 gio/tests/gschema-compile.c |    2 +-                    <----
 glib/gconvert.c             |    4 ++--
 glib/giochannel.c           |    6 +++---
 glib/gmessages.c            |    2 +-
 glib/gthread.c              |    4 ++--
 glib/gthreadpool.c          |    2 +-
 glib/gvariant.c             |    4 ++--
 glib/gvarianttype.c         |    2 +-
 gobject/gtype.h             |    2 +-
 gobject/gtypemodule.c       |    2 +-
 gobject/gvalue.h            |    2 +-
 14 files changed, 20 insertions(+), 20 deletions(-)
Comment 2 David Zeuthen (not reading bugmail) 2011-03-25 22:00:00 UTC
Fixed

 http://git.gnome.org/browse/glib/commit/?id=1618ca572fec292f0771202bd8b218dacc959060

In the future, please run the test-suite before pushing your patches to master.
Comment 3 Murray Cumming 2011-03-26 11:08:38 UTC
Sorry and thanks.