xref: /aosp_15_r20/external/protobuf/kokoro/linux/aarch64/test_cpp_aarch64.sh (revision 1b3f573f81763fcece89efc2b6a5209149e44ab8)
1#!/bin/bash
2#
3# Crosscompiles protobuf C++ under dockcross docker image and runs the tests under an emulator.
4
5set -e
6
7# go to the repo root
8cd $(dirname $0)/../../..
9
10# Initialize any submodules.
11git submodule update --init --recursive
12
13# run the C++ build and test script under dockcross/linux-arm64 image
14kokoro/linux/aarch64/dockcross_helpers/run_dockcross_linux_aarch64.sh kokoro/linux/aarch64/cpp_crosscompile_and_run_tests_with_qemu_aarch64.sh
15