KIO: enable test (#3111)

* Enable test, add LIBRARY_PATH, add TEST_REQ

* Notice about the tests
This commit is contained in:
miqlas
2018-09-24 19:18:45 +02:00
committed by Scott McCreary
parent d3e784e917
commit 973eca870a

View File

@@ -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
}