Skip to content

Commit 5c04140

Browse files
Ignore weirdness from cmake
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]>
1 parent 4acc332 commit 5c04140

File tree

1 file changed

+4
-4
lines changed
  • tests/scripts/quiet

1 file changed

+4
-4
lines changed

tests/scripts/quiet/make

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@ if [ -n "${MBEDTLS_TEST_OUTCOME_FILE}" ] &&
5959
cause= # Identifying failure causes wuld be nice, but difficult
6060

6161
for target in $targets; do
62-
if [ "$target" = "clean" ]; then
63-
# Boring
64-
continue
65-
fi
62+
case "$target" in
63+
"clean"|"neat") continue;; # Boring
64+
cmTC_*) continue;; # Weirdness from CMake
65+
esac
6666
echo >>"${MBEDTLS_TEST_OUTCOME_FILE}" \
6767
"${MBEDTLS_TEST_PLATFORM};${MBEDTLS_TEST_CONFIGURATION};${TOOL};${target};${result};${cause}"
6868
done

0 commit comments

Comments
 (0)