Skip to content

Commit

Permalink
media-libs/gst-plugins-base-1.14: skip opengl tests, fix the rest to …
Browse files Browse the repository at this point in the history
…pass

OpenGL tests fail with EGL init trouble, like they did in gst-plugins-bad
(if the whole testsuite wouldn't be restricted), so disable the opengl tests
for now. Ideally we'd get them to work without skipping, but that's a battle
for a much much rainier day.
Other failures happening on my machine were caused by GSETTINGS_BACKEND=dconf
export from env.d due to having dconf installed, so unset it to use memory
backend by GSettings.
Apparently there were more test failures under some conditions for 1.12, but
I couldn't reproduce those in 1.14, and probably not with 1.12 either. Those
will need to be rechecked by people having the failures or new +1's.

Package-Manager: Portage-2.3.40, Repoman-2.3.9
  • Loading branch information
leio committed Jun 16, 2018
1 parent eadca91 commit 919a186
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions media-libs/gst-plugins-base/gst-plugins-base-1.14.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,12 @@ DEPEND="${RDEPEND}
X? ( x11-base/xorg-proto )
"

src_prepare() {
# Disable GL tests for now; prone to fail with EGL_NOT_INITIALIZED, etc
sed -i -e '/^@USE_GL_TRUE@/d' tests/check/Makefile.in
default
}

multilib_src_configure() {
filter-flags -mno-sse -mno-sse2 -mno-sse4.1 #610340

Expand Down Expand Up @@ -167,3 +173,8 @@ multilib_src_install_all() {
einstalldocs
prune_libtool_files --modules
}

multilib_src_test() {
unset GSETTINGS_BACKEND
emake check
}

0 comments on commit 919a186

Please sign in to comment.