GNOME Bugzilla – Bug 731039
gtksourceview-3.12.2: test fails when not previously installed
Last modified: 2014-05-31 13:16:42 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.
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
Thanks a lot for the really fast fix :D