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 731039 - gtksourceview-3.12.2: test fails when not previously installed
gtksourceview-3.12.2: test fails when not previously installed
Status: RESOLVED FIXED
Product: gtksourceview
Classification: Platform
Component: General
3.12.x
Other Linux
: Normal normal
: ---
Assigned To: GTK Sourceview maintainers
GTK Sourceview maintainers
Depends on:
Blocks:
 
 
Reported: 2014-05-31 09:58 UTC by Pacho Ramos
Modified: 2014-05-31 13:16 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Pacho Ramos 2014-05-31 09:58:33 UTC
If no gtksourceview is installed in the system, test fails:
PASS: test-completion-model
PASS: test-language
PASS: test-mark
PASS: test-buffer
PASS: test-regex
PASS: test-region
PASS: test-languagemanager
PASS: test-printcompositor
PASS: test-styleschememanager
PASS: test-undo-manager
PASS: test-utils
../test-driver: line 95: 31612 Trace/breakpoint trap   (core dumped) "$@" > $log_file 2>&1
FAIL: test-search-context
PASS: test-completion-words
make[5]: Entering directory `/var/tmp/portage/x11-libs/gtksourceview-3.12.2/work/gtksourceview-3.12.2/tests'
make  all-am
make[6]: Entering directory `/var/tmp/portage/x11-libs/gtksourceview-3.12.2/work/gtksourceview-3.12.2/tests'
make[6]: Nothing to be done for `all-am'.
make[6]: Leaving directory `/var/tmp/portage/x11-libs/gtksourceview-3.12.2/work/gtksourceview-3.12.2/tests'
make[5]: Leaving directory `/var/tmp/portage/x11-libs/gtksourceview-3.12.2/work/gtksourceview-3.12.2/tests'
============================================================================
Testsuite summary for gtksourceview 3.12.2
============================================================================
# TOTAL: 13
# PASS:  12
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log
Please report to http://bugzilla.gnome.org/enter_bug.cgi?product=gtksourceview
============================================================================
make[4]: *** [test-suite.log] Error 1
make[4]: Leaving directory `/var/tmp/portage/x11-libs/gtksourceview-3.12.2/work/gtksourceview-3.12.2/tests'
make[3]: *** [check-TESTS] Error 2
make[3]: Leaving directory `/var/tmp/portage/x11-libs/gtksourceview-3.12.2/work/gtksourceview-3.12.2/tests'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/var/tmp/portage/x11-libs/gtksourceview-3.12.2/work/gtksourceview-3.12.2/tests'
make[1]: *** [check] Error 2
make[1]: Leaving directory `/var/tmp/portage/x11-libs/gtksourceview-3.12.2/work/gtksourceview-3.12.2/tests'
make: *** [check-recursive] Error 1


================================================
   gtksourceview 3.12.2: tests/test-suite.log
================================================

# TOTAL: 13
# PASS:  12
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: test-search-context
=========================

/Search/case-sensitivity: 
(/var/tmp/portage/x11-libs/gtksourceview-3.12.2/work/gtksourceview-3.12.2/tests/.libs/test-search-context:31612): GtkSourceView-WARNING **: search-match style not available.
Comment 1 Sébastien Wilmet 2014-05-31 12:52:33 UTC
Thanks for the bug report. We don't run often 'make check' when gtksourceview is not installed. There is normally always the fallback with gtksourceview installed with the system.

The fixes (also backported to the gnome-3-12 branch):
https://git.gnome.org/browse/gtksourceview/commit/?id=1970223669e512e126e8ed2dc39f456c056c518d

https://git.gnome.org/browse/gtksourceview/commit/?id=8ed2c9ae5d7a961a46513f74ffab0ea1952dfe30
Comment 2 Pacho Ramos 2014-05-31 13:16:42 UTC
Thanks a lot for the really fast fix :D