summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/clucene/APKBUILD10
1 files changed, 9 insertions, 1 deletions
diff --git a/user/clucene/APKBUILD b/user/clucene/APKBUILD
index 90f7a8eb7..2c5e047e4 100644
--- a/user/clucene/APKBUILD
+++ b/user/clucene/APKBUILD
@@ -40,11 +40,19 @@ build() {
check() {
cd "$builddir"
+
+ # clucene is not smart enough to delete files between successive checks,
+ # so let's remove them for it. Otherwise, if check is run a second time
+ # without clearing the files beforehand, a lot of tests will fail.
+ rm -rf "$builddir/tmp"
+ mkdir "$builddir/tmp"
+
# Need to force cmake to update - some sort of race condition
touch CMakeCache.txt
make cl_test
+
cd bin
- ./cl_test
+ TMP="$builddir/tmp" ./cl_test
}
package() {