Date: Wednesday, November 28, 2018 @ 20:33:15 Author: dvzrv Revision: 410470
Adding xorg-server-xvfb to checkdepends to be able to use xvfb-run in check(). Modified: supercollider/trunk/PKGBUILD ----------+ PKGBUILD | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-11-28 20:11:54 UTC (rev 410469) +++ PKGBUILD 2018-11-28 20:33:15 UTC (rev 410470) @@ -13,6 +13,7 @@ groups=('pro-audio') depends=('boost-libs' 'desktop-file-utils' 'fftw' 'jack' 'qt5-svg' 'qt5-webengine' 'qt5-webkit' 'qt5-websockets' 'yaml-cpp') makedepends=('boost' 'cmake' 'emacs' 'qt5-tools') +checkdepends=('xorg-server-xvfb') optdepends=('emacs: emacs interface' 'gedit: gedit interface' 'sc3-plugins: additional extension plugins for scsynth') @@ -49,12 +50,10 @@ make VERBOSE=1 } -## too many tests dependent on X11: -## https://github.com/supercollider/supercollider/issues/3555 -#check() { -# cd "${pkgname}-${pkgver}/build" -# make test ARGS="-V" -#} +check() { + cd "${pkgname}-${pkgver}/build" + xvfb-run make test ARGS="-V" || warning "Known failing tests: https://github.com/supercollider/supercollider/issues/3555" +} package() { cd "${pkgname}-${pkgver}/build"