瀏覽代碼

test.bash: add -failfast flag

Rather than waiting for all tests for all Go versions to finish
only to find that there was some minor breakage,
fail fast so that we stop wasting time.

Change-Id: Ie255ceb5ac2cbdc598a074c6da281f5e49eb1326
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/189019
Reviewed-by: Damien Neil <dneil@google.com>
Joe Tsai 6 年之前
父節點
當前提交
f542220747
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      test.bash

+ 1 - 1
test.bash

@@ -4,5 +4,5 @@
 # license that can be found in the LICENSE file.
 
 cd "$(git rev-parse --show-toplevel)"
-go test -v -mod=vendor -timeout=60m -count=1 integration_test.go "$@"
+go test -v -mod=vendor -timeout=60m -count=1 integration_test.go -failfast "$@"
 exit $?