mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
rclone: adjust for default do_check
This commit is contained in:
parent
ab5e280a08
commit
0954bfef03
1 changed files with 3 additions and 4 deletions
|
@ -16,6 +16,7 @@ homepage="https://rclone.org/"
|
||||||
changelog="https://rclone.org/changelog/"
|
changelog="https://rclone.org/changelog/"
|
||||||
distfiles="https://downloads.rclone.org/v${version}/rclone-v${version}.tar.gz"
|
distfiles="https://downloads.rclone.org/v${version}/rclone-v${version}.tar.gz"
|
||||||
checksum=f3863ef3fcbcc0aa0ca00c6bf1c099be9470df360751912db5c9021d3e549d10
|
checksum=f3863ef3fcbcc0aa0ca00c6bf1c099be9470df360751912db5c9021d3e549d10
|
||||||
|
make_check_pre="env RCLONE_CONFIG=/notfound"
|
||||||
# some tests fail on CI
|
# some tests fail on CI
|
||||||
make_check=ci-skip
|
make_check=ci-skip
|
||||||
|
|
||||||
|
@ -28,7 +29,7 @@ pre_build() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
do_check() {
|
pre_check() {
|
||||||
rm cmd/serve/docker/docker_test.go
|
rm cmd/serve/docker/docker_test.go
|
||||||
rm cmd/mount/mount_test.go
|
rm cmd/mount/mount_test.go
|
||||||
rm cmd/mount2/mount_test.go
|
rm cmd/mount2/mount_test.go
|
||||||
|
@ -36,11 +37,9 @@ do_check() {
|
||||||
# could time out on i686 and it's deprecated
|
# could time out on i686 and it's deprecated
|
||||||
# https://github.com/rclone/rclone/issues/5784#issuecomment-961520934
|
# https://github.com/rclone/rclone/issues/5784#issuecomment-961520934
|
||||||
rm backend/cache/cache_test.go
|
rm backend/cache/cache_test.go
|
||||||
|
|
||||||
# equivalent to quicktest target of Makefile
|
|
||||||
RCLONE_CONFIG="/notfound" go test -tags "$go_build_tags" ./...
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
ln -sf rclone ${DESTDIR}/usr/bin/mount.rclone
|
ln -sf rclone ${DESTDIR}/usr/bin/mount.rclone
|
||||||
vlicense COPYING
|
vlicense COPYING
|
||||||
|
|
Loading…
Add table
Reference in a new issue