diff options
author | juerg <juerg@google.com> | 2023-03-29 07:25:40 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2023-03-29 07:26:44 -0700 |
commit | 7ac2dc4c1aa10bfea4153cd1c4947e5b459ad76b (patch) | |
tree | bcf92d34aff9c34253ae808c84674906f26982a4 /kokoro | |
parent | 4e6accfd580a1e0914b2d68c615c518398448fe4 (diff) | |
download | tink-7ac2dc4c1aa10bfea4153cd1c4947e5b459ad76b.tar.gz |
Remove cross-langauge tests from old setup.
PiperOrigin-RevId: 520328803
Diffstat (limited to 'kokoro')
-rw-r--r-- | kokoro/gcp_ubuntu_per_language/cross_language/run_tests.sh | 62 |
1 files changed, 2 insertions, 60 deletions
diff --git a/kokoro/gcp_ubuntu_per_language/cross_language/run_tests.sh b/kokoro/gcp_ubuntu_per_language/cross_language/run_tests.sh index 9f143f437..4aeab5dba 100644 --- a/kokoro/gcp_ubuntu_per_language/cross_language/run_tests.sh +++ b/kokoro/gcp_ubuntu_per_language/cross_language/run_tests.sh @@ -19,63 +19,5 @@ set -euo pipefail CURRENT_BAZEL_VERSION="" -use_bazel() { - local candidate_version="$1" - if [[ "${candidate_version}" != "${CURRENT_BAZEL_VERSION}" ]]; then - CURRENT_BAZEL_VERSION="${candidate_version}" - if [[ -n "${KOKORO_ROOT:-}" ]] ; then - use_bazel.sh "${candidate_version}" - else - bazel --version - fi - fi -} - -main() { - if [[ -n "${KOKORO_ROOT:-}" ]] ; then - cd "${KOKORO_ARTIFACTS_DIR}/git/tink" - ./kokoro/testutils/copy_credentials.sh "tools/testdata" "all" - ./kokoro/testutils/update_android_sdk.sh - ./kokoro/testutils/upgrade_gcc.sh - # Sourcing required to update callers environment. - source ./kokoro/testutils/install_python3.sh - source ./kokoro/testutils/install_go.sh - fi - ( - cd testing/cc - use_bazel "$(cat .bazelversion)" - time bazel build -- ... - time bazel test --test_output=errors -- ... - ) - ( - cd testing/go - use_bazel "$(cat .bazelversion)" - time bazel build -- ... - time bazel test --test_output=errors -- ... - ) - ( - cd testing/java_src - use_bazel "$(cat .bazelversion)" - time bazel build -- ... - time bazel build :testing_server_deploy.jar - time bazel test --test_output=errors -- ... - ) - ( - cd testing/python - use_bazel "$(cat .bazelversion)" - time bazel build -- ... - time bazel test --test_output=errors -- ... - ) - - local TINK_CROSS_LANG_ROOT_PATH="${PWD}/testing" - ( - cd testing/cross_language - use_bazel "$(cat .bazelversion)" - time bazel test \ - --test_env TINK_CROSS_LANG_ROOT_PATH="${TINK_CROSS_LANG_ROOT_PATH}" \ - --test_output=errors \ - -- ... - ) -} - -main "$@" +# These tests are now run using the script +# testing/kokoro/gcp_ubuntu/bazel/run_tests.sh |