Skip to content

Commit

Permalink
Ignore weirdness from cmake
Browse files Browse the repository at this point in the history
Some versions on CMake (on some platforms?) run make (not $(MAKE)) under the
hood on targets named cmTC_* (CMake TryCompile). Ignore those calls.

Signed-off-by: Gilles Peskine <[email protected]>
  • Loading branch information
gilles-peskine-arm committed Jun 20, 2024
1 parent 4acc332 commit 5c04140
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/scripts/quiet/make
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@ if [ -n "${MBEDTLS_TEST_OUTCOME_FILE}" ] &&
cause= # Identifying failure causes wuld be nice, but difficult

for target in $targets; do
if [ "$target" = "clean" ]; then
# Boring
continue
fi
case "$target" in
"clean"|"neat") continue;; # Boring
cmTC_*) continue;; # Weirdness from CMake
esac
echo >>"${MBEDTLS_TEST_OUTCOME_FILE}" \
"${MBEDTLS_TEST_PLATFORM};${MBEDTLS_TEST_CONFIGURATION};${TOOL};${target};${result};${cause}"
done
Expand Down

0 comments on commit 5c04140

Please sign in to comment.