diff --git a/kde-frameworks/kio/kio-5.50.0.recipe b/kde-frameworks/kio/kio-5.50.0.recipe index 8c6732ee9..2cd2c78df 100644 --- a/kde-frameworks/kio/kio-5.50.0.recipe +++ b/kde-frameworks/kio/kio-5.50.0.recipe @@ -126,6 +126,10 @@ BUILD_PREREQUIRES=" cmd:python2 " +TEST_REQUIRES=" + qthaikuplugins$secondaryArchSuffix #it opens windows during the tests, maybe we don't want that on the buildbots. + " + BUILD() { mkdir -p build @@ -136,7 +140,7 @@ BUILD() -DKAUTH_HELPER_INSTALL_DIR:PATH=$addOnsDir/Qt5/kauth/helper \ -DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \ -DECM_DIR=/system/data/cmake/Modules/ECM/cmake \ - -DBUILD_TESTING=OFF + -DBUILD_TESTING=ON make $jobArgs } @@ -164,6 +168,7 @@ INSTALL() TEST() { + export LIBRARY_PATH="$sourceDir/build/bin${LIBRARY_PATH:+:$LIBRARY_PATH}" cd build make test }