mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2025-01-01 11:58:21 +00:00
internal/benchmarks: make download_benchdata print an error
Currently, the script fails, and not with a good error message. related to https://github.com/golang/protobuf/issues/1524 Change-Id: Ia27a895a7ae2f6349bb1262936e4428fa485bb92 Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/538955 Reviewed-by: Damien Neil <dneil@google.com> Reviewed-by: Lasse Folger <lassefolger@google.com>
This commit is contained in:
parent
f4a6c1f6e5
commit
9492118ab1
@ -7,11 +7,6 @@ cd "$(git rev-parse --show-toplevel)"
|
||||
mkdir -p .cache/benchdata
|
||||
cd .cache/benchdata
|
||||
|
||||
# Download small benchmark datasets.
|
||||
PROTOBUF_VERSION=v3.11.4
|
||||
curl -s -O https://raw.githubusercontent.com/protocolbuffers/protobuf/$PROTOBUF_VERSION/benchmarks/datasets/google_message1/proto2/dataset.google_message1_proto2.pb
|
||||
curl -s -O https://raw.githubusercontent.com/protocolbuffers/protobuf/$PROTOBUF_VERSION/benchmarks/datasets/google_message1/proto3/dataset.google_message1_proto3.pb
|
||||
curl -s -O https://raw.githubusercontent.com/protocolbuffers/protobuf/$PROTOBUF_VERSION/benchmarks/datasets/google_message2/dataset.google_message2.pb
|
||||
|
||||
# Download large benchmark datasets.
|
||||
curl -s https://storage.googleapis.com/protobuf_opensource_benchmark_data/datasets.tar.gz | tar zx
|
||||
echo "This script needs to be updated to work with https://github.com/google/fleetbench" >&2
|
||||
echo "See https://github.com/golang/protobuf/issues/1570" >&2
|
||||
exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user