rclone: adjust for default do_check

This commit is contained in:
classabbyamp 2024-08-09 13:36:44 -04:00 committed by classabbyamp
parent ab5e280a08
commit 0954bfef03
1 changed files with 3 additions and 4 deletions

View File

@ -16,6 +16,7 @@ homepage="https://rclone.org/"
changelog="https://rclone.org/changelog/"
distfiles="https://downloads.rclone.org/v${version}/rclone-v${version}.tar.gz"
checksum=f3863ef3fcbcc0aa0ca00c6bf1c099be9470df360751912db5c9021d3e549d10
make_check_pre="env RCLONE_CONFIG=/notfound"
# some tests fail on CI
make_check=ci-skip
@ -28,7 +29,7 @@ pre_build() {
fi
}
do_check() {
pre_check() {
rm cmd/serve/docker/docker_test.go
rm cmd/mount/mount_test.go
rm cmd/mount2/mount_test.go
@ -36,11 +37,9 @@ do_check() {
# could time out on i686 and it's deprecated
# https://github.com/rclone/rclone/issues/5784#issuecomment-961520934
rm backend/cache/cache_test.go
# equivalent to quicktest target of Makefile
RCLONE_CONFIG="/notfound" go test -tags "$go_build_tags" ./...
}
post_install() {
ln -sf rclone ${DESTDIR}/usr/bin/mount.rclone
vlicense COPYING