-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathtest.sh
More file actions
executable file
·63 lines (61 loc) · 3.84 KB
/
Copy pathtest.sh
File metadata and controls
executable file
·63 lines (61 loc) · 3.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#!/usr/bin/env bash
# *******************************************************************************
# Copyright (c) 2026 Contributors to the Eclipse Foundation
#
# See the NOTICE file(s) distributed with this work for additional
# information regarding copyright ownership.
#
# This program and the accompanying materials are made available under the
# terms of the Apache License Version 2.0 which is available at
# https://www.apache.org/licenses/LICENSE-2.0
#
# SPDX-License-Identifier: Apache-2.0
# *******************************************************************************
echo -e "***********************************************************************************"
echo -e "Testing toolchain for x86_64 Linux as '\e[93mhost_config_1\e[39m' ..."
echo -e "Platform: \e[93m@score_bazel_platforms//:x86_64-linux-gcc_12.2.0-posix\e[39m"
echo -e "Toolchain: \e[93m@score_gcc_toolchain//:x86_64-linux-gcc_12.2.0\e[39m"
bazel test --config host_config_1 //:math_lib_test
bazel clean --expunge
echo -e "***********************************************************************************"
echo -e "Testing toolchain for x86_64 Linux as '\e[93mhost_config_2\e[39m' ..."
echo -e "Platform: \e[93m@score_bazel_platforms//:x86_64-linux-gcc_12.2.0-posix\e[39m"
echo -e "Toolchain: \e[93m@my_toolchain//:x86_64-linux-gcc_12.2.0\e[39m"
bazel test --config host_config_2 //:math_lib_test
bazel clean --expunge
echo -e "***********************************************************************************"
echo -e "Testing toolchain for x86_64 Linux as '\e[93mhost_config_3\e[39m' ..."
echo -e "Platform: \e[93m@score_bazel_platforms//:x86_64-linux\e[39m"
echo -e "Toolchain: \e[93m@score_gcc_toolchain_bp//:x86_64-linux\e[39m"
bazel test --config host_config_3 //:math_lib_test
bazel clean --expunge
echo -e "***********************************************************************************"
echo -e "Testing toolchain for x86_64 QNX as '\e[93mtarget_config_1\e[39m' ..."
echo -e "Platform: \e[93m@score_bazel_platforms//:x86_64-qnx-sdp_8.0.0-posix\e[39m"
echo -e "Toolchain: \e[93m@score_qcc_toolchain//:x86_64-qnx-sdp_8.0.0\e[39m"
bazel build --config target_config_1 //:main_cpp
bazel clean --expunge
echo -e "***********************************************************************************"
echo -e "Testing toolchain for Aarch64 QNX as '\e[93mtarget_config_2\e[39m' ..."
echo -e "Platform: \e[93m@score_bazel_platforms//:aarch64-qnx-sdp_8.0.0-posix\e[39m"
echo -e "Toolchain: \e[93m@score_qcc_arm_toolchain//:aarch64-qnx-sdp_8.0.0\e[39m"
bazel build --config target_config_2 //:main_cpp
bazel clean --expunge
echo -e "***********************************************************************************"
echo -e "Testing toolchain for Aarch64 Linux as '\e[93mtarget_config_3\e[39m' ..."
echo -e "Platform: \e[93m@score_bazel_platforms//:aarch64-linux-gcc_12.2.0-posix\e[39m"
echo -e "Toolchain: \e[93m@score_aarch64_gcc_toolchain//:aarch64-linux-gcc_12.2.0\e[39m"
bazel build --config target_config_3 //:main_cpp
bazel clean --expunge
echo -e "***********************************************************************************"
echo -e "Testing toolchain for x86_64 Linux (flavor: \e[93mautosd10) as '\e[93mtarget_config_4\e[39m' ..."
echo -e "Platform: \e[93m@score_bazel_platforms//:x86_64-linux-autosd10\e[39m"
echo -e "Toolchain: \e[93m@score_autosd_10_toolchain//:x86_64-linux-autosd10\e[39m"
bazel build --config target_config_4 //:main_cpp
bazel clean --expunge
echo -e "***********************************************************************************"
echo -e "Testing toolchain for Aarch64 Linux (flavor: \e[93mebclfsa) as '\e[93mtarget_config_5\e[39m' ..."
echo -e "Platform: \e[93m@score_bazel_platforms//:aarch64-linux-sdk_0.1.0-ebclfsa\e[39m"
echo -e "Toolchain: \e[93m@score_ebclfsa_toolchain//:aarch64-linux-sdk_0.1.0-ebclfsa\e[39m"
bazel build --config target_config_5 //:main_cpp
bazel clean --expunge