aboutsummaryrefslogtreecommitdiff
path: root/kokoro
diff options
context:
space:
mode:
authorambrosin <ambrosin@google.com>2023-06-28 08:58:52 -0700
committerCopybara-Service <copybara-worker@google.com>2023-06-28 09:00:14 -0700
commit9f478b79e277d382dd9935a384b66ccad99dcf2a (patch)
treebd7162fc5181fa588514d97f36abbab9660dce06 /kokoro
parent2de2aebbc26c48260742761892a480eb59d202d2 (diff)
downloadtink-9f478b79e277d382dd9935a384b66ccad99dcf2a.tar.gz
Remove tools/testdata which is unused
PiperOrigin-RevId: 544071722
Diffstat (limited to 'kokoro')
-rw-r--r--kokoro/macos_external/tools/run_tests.sh16
-rwxr-xr-xkokoro/run_tests.sh1
2 files changed, 1 insertions, 16 deletions
diff --git a/kokoro/macos_external/tools/run_tests.sh b/kokoro/macos_external/tools/run_tests.sh
index 63b802d40..559cbf312 100644
--- a/kokoro/macos_external/tools/run_tests.sh
+++ b/kokoro/macos_external/tools/run_tests.sh
@@ -21,24 +21,10 @@ export DEVELOPER_DIR="/Applications/Xcode.app/Contents/Developer"
export ANDROID_HOME="/usr/local/share/android-sdk"
export COURSIER_OPTS="-Djava.net.preferIPv6Addresses=true"
-IS_KOKORO="false"
-if [[ -n "${KOKORO_ARTIFACTS_DIR:-}" ]]; then
- IS_KOKORO="true"
-fi
-readonly IS_KOKORO
-
-if [[ "${IS_KOKORO}" == "true" ]] ; then
+if [[ -n "${KOKORO_ARTIFACTS_DIR:-}" ]] ; then
cd "$(echo "${KOKORO_ARTIFACTS_DIR}"/git*/tink)"
export JAVA_HOME=$(/usr/libexec/java_home -v "1.8.0_292")
fi
-./kokoro/testutils/copy_credentials.sh "tools/testdata" "all"
./kokoro/testutils/update_android_sdk.sh
-# Sourcing required to update callers environment.
-source ./kokoro/testutils/install_go.sh
-echo "Using go binary from $(which go): $(go version)"
-
-# TODO(b/155225382): Avoid modifying the sytem Python installation.
-pip3 install --user protobuf
-
./kokoro/testutils/run_bazel_tests.sh tools
diff --git a/kokoro/run_tests.sh b/kokoro/run_tests.sh
index 920dab87f..e9ab4757c 100755
--- a/kokoro/run_tests.sh
+++ b/kokoro/run_tests.sh
@@ -172,7 +172,6 @@ main() {
./kokoro/testutils/copy_credentials.sh "java_src/testdata" "all"
./kokoro/testutils/copy_credentials.sh "python/examples/testdata" "gcp"
./kokoro/testutils/copy_credentials.sh "python/testdata" "all"
- ./kokoro/testutils/copy_credentials.sh "tools/testdata" "all"
./kokoro/testutils/update_android_sdk.sh
# Sourcing required to update callers environment.