mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
KIO: enable test (#3111)
* Enable test, add LIBRARY_PATH, add TEST_REQ * Notice about the tests
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user