aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorVladimir Rusinov <vrusinov@google.com>2018-01-08 17:51:59 +0000
committerAudrius Butkevicius <github@audrius.rocks>2018-01-08 17:51:59 +0000
commit1c8803402ecb829da4a288a7aa178636e28e0284 (patch)
treec3d4ee84f629a268c5b292359d7039a6f82a08aa /build.sh
parentdb03562d43f8a2a55e829dff754af47f08d3eb6d (diff)
downloadsyncthing-1c8803402ecb829da4a288a7aa178636e28e0284.tar.gz
syncthing-1c8803402ecb829da4a288a7aa178636e28e0284.zip
build: Remove ulimit from build.sh
Previous "reasonable resource limits" cause test failures with Go 1.9. They were added to protect the previous generation of the build server and no longer needed. Fixes issue #4653. GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4656
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh6
1 files changed, 0 insertions, 6 deletions
diff --git a/build.sh b/build.sh
index 14fa68ff1..db64b655f 100755
--- a/build.sh
+++ b/build.sh
@@ -48,9 +48,6 @@ case "${1:-default}" in
;;
test)
- ulimit -t 600 &>/dev/null || true
- ulimit -d 512000 &>/dev/null || true
- ulimit -m 512000 &>/dev/null || true
LOGGER_DISCARD=1 build test
;;
@@ -94,9 +91,6 @@ case "${1:-default}" in
;;
test-xunit)
- ulimit -t 600 &>/dev/null || true
- ulimit -d 512000 &>/dev/null || true
- ulimit -m 512000 &>/dev/null || true
(GOPATH="$(pwd)/Godeps/_workspace:$GOPATH" go test -v -race ./lib/... ./cmd/... || true) > tests.out
go2xunit -output tests.xml -fail < tests.out