Skip to content

Commit

Permalink
Fix up some tests for Arm64
Browse files Browse the repository at this point in the history
This is the first PR for my Arm64 test cleanup.

Closes #5457.

PiperOrigin-RevId: 202492291
  • Loading branch information
ArielleA authored and Copybara-Service committed Jun 28, 2018
1 parent 3fc2880 commit 178e6cc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ default_toolchain {
cpu: "ppc"
toolchain_identifier: "local_linux"
}
default_toolchain {
cpu: "aarch64"
toolchain_identifier: "local_linux"
}

toolchain {
abi_version: "local"
Expand Down
2 changes: 1 addition & 1 deletion src/test/shell/testenv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ python_server="${BAZEL_RUNFILES}/src/test/shell/bazel/testing_server.py"
# Third-party
MACHINE_TYPE="$(uname -m)"
MACHINE_IS_64BIT='no'
if [ "${MACHINE_TYPE}" = 'amd64' ] || [ "${MACHINE_TYPE}" = 'x86_64' ] || [ "${MACHINE_TYPE}" = 's390x' ]; then
if [ "${MACHINE_TYPE}" = 'amd64' ] || [ "${MACHINE_TYPE}" = 'x86_64' ] || [ "${MACHINE_TYPE}" = 's390x' ] || [ "${MACHINE_TYPE}" = 'aarch64' ]; then
MACHINE_IS_64BIT='yes'
fi

Expand Down

0 comments on commit 178e6cc

Please sign in to comment.