xref: /third_party/protobuf/ruby/compatibility_tests/v3.0.0/test.sh
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/protobuf/ruby/compatibility_tests/v3.0.0/
1ffe3c632Sopenharmony_ci#!/bin/bash
2ffe3c632Sopenharmony_ci
3ffe3c632Sopenharmony_ciset -ex
4ffe3c632Sopenharmony_ci
5ffe3c632Sopenharmony_ci# Change to the script's directory
6ffe3c632Sopenharmony_cicd $(dirname $0)
7ffe3c632Sopenharmony_ci
8ffe3c632Sopenharmony_ci# Download 3.0.0 version of protoc
9ffe3c632Sopenharmony_ciPROTOC_BINARY_NAME="protoc-3.0.0-linux-x86_64.exe"
10ffe3c632Sopenharmony_ciif [ `uname` = "Darwin" ]; then
11ffe3c632Sopenharmony_ci  PROTOC_BINARY_NAME="protoc-3.0.0-osx-x86_64.exe"
12ffe3c632Sopenharmony_cifi
13ffe3c632Sopenharmony_ciwget https://repo1.maven.org/maven2/com/google/protobuf/protoc/3.0.0/${PROTOC_BINARY_NAME} -O protoc
14ffe3c632Sopenharmony_cichmod +x protoc
15ffe3c632Sopenharmony_ci
16ffe3c632Sopenharmony_ci# Run tests
17ffe3c632Sopenharmony_cirake test
18

Indexes created Thu Nov 07 10:32:03 CST 2024