Commit 8d519058 authored by Sören Tempel's avatar Sören Tempel Committed by Sören Tempel
Browse files

community/go: make tests pass with USE_CCACHE=1

parent 9851dde0
......@@ -187,6 +187,10 @@ build() {
check() {
cd "$builddir/src"
[ "$CTARGET_ARCH" = "armhf" ] && GO_TEST_TIMEOUT_SCALE=2
# Test suite does not pass with ccache, thus remove it form $PATH.
export PATH="$(echo "$PATH" | sed 's|/usr/lib/ccache/bin:||g')"
# TODO: cgo_test fails due to https://github.com/golang/go/issues/39857
PATH="$builddir/bin:$PATH" ./run.bash -no-rebuild -run='!(^cgo_test$)'
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment