Skip to content

Commit

Permalink
Set bazel version to 0.15.2 instead of latest to fix broken tests.
Browse files Browse the repository at this point in the history
Apparently 0.16.x causes some issue with JDK 9. Using bazel 0.15.2 works fine.

Relevant CL: cr/208638300. It needs more work but once fixed we can revert this CL.

PiperOrigin-RevId: 209490913
GitOrigin-RevId: 9661ca621f0a58f85bcc71e139c4dc0167b677da
  • Loading branch information
tl0gic authored and Tink Team committed Aug 30, 2018
1 parent 4828a81 commit af3113a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion kokoro/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ readonly DISABLE_SANDBOX_ARGS
if ! [ -z "${KOKORO_ROOT}" ]; then
rm -f ~/.bazelrc
# Install the latest version of Bazel.
use_bazel.sh latest
# TODO(candrian): Temporarily set to 0.15.2 because 0.16.x with JDK 9 throws
# errors. Once these are fixed we can revert to latest.
use_bazel.sh 0.15.2
if [[ "$PLATFORM" == 'darwin' ]]; then
export DEVELOPER_DIR="/Applications/Xcode_${XCODE_VERSION}.app/Contents/Developer"
export ANDROID_HOME="/Users/kbuilder/Library/Android/sdk"
Expand Down

0 comments on commit af3113a

Please sign in to comment.