Skip to content

Commit ec4988b

Browse files
committed
Remove test_clang_opt check
With `declare -F` being used to initialize ALL_COMPONENTS the check to delete test_clang_opt for Linux systems can be dropped as it not detected at all. Signed-off-by: Gowtham Suresh Kumar <[email protected]>
1 parent 11b2b65 commit ec4988b

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

tests/scripts/all.sh

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -198,13 +198,6 @@ pre_initialize_variables () {
198198
ALL_COMPONENTS=$(declare -F | \
199199
sed -n 's/^declare\ -f\ component_\([0-9A-Z_a-z]*\)$/\1/p')
200200

201-
# For Linux platforms we run latest/earliest versions of clang and the
202-
# test_clang_opt function is only for FreeBSD. This condition removes
203-
# test_clang_opt element from the ALL_COMPONENTS array for Linux.
204-
if [[ $(uname) == "Linux" ]]; then
205-
ALL_COMPONENTS=( "${ALL_COMPONENTS[@]/test_clang_opt}" )
206-
fi
207-
208201
# Exclude components that are not supported on this platform.
209202
SUPPORTED_COMPONENTS=
210203
for component in $ALL_COMPONENTS; do

0 commit comments

Comments
 (0)