From 55c4fa4f41b0e063d214e60475372696f0fc8173 Mon Sep 17 00:00:00 2001 From: Pengyu Lv Date: Fri, 24 Feb 2023 18:31:50 +0800 Subject: [PATCH] Check if the license server is available for armcc Signed-off-by: Pengyu Lv --- tests/scripts/all.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh index 273fed019..e154535e4 100755 --- a/tests/scripts/all.sh +++ b/tests/scripts/all.sh @@ -3506,9 +3506,11 @@ component_build_armcc () { armc6_build_test "-O1 --target=aarch64-arm-none-eabi -march=armv8.2-a+crypto" } support_build_armcc () { - arm5_cc="$ARMC5_BIN_DIR/armcc" - arm6_cc="$ARMC6_BIN_DIR/armclang" - `check_tools "$arm5_cc" "$arm6_cc" > /dev/null 2>&1` + armc5_cc="$ARMC5_BIN_DIR/armcc" + armc6_cc="$ARMC6_BIN_DIR/armclang" + # check if Arm Compiler is installed and license server is available. + ("$armc5_cc" --help > /dev/null 2>&1) && \ + ("$armc6_cc" --help > /dev/null 2>&1) } component_test_tls13_only () {