diff --git a/dist/tools/insufficient_memory/add_insufficient_memory_board.sh b/dist/tools/insufficient_memory/add_insufficient_memory_board.sh index ed3ffabd146b..f18e5c5a3912 100755 --- a/dist/tools/insufficient_memory/add_insufficient_memory_board.sh +++ b/dist/tools/insufficient_memory/add_insufficient_memory_board.sh @@ -47,12 +47,11 @@ export RIOT_CI_BUILD=1 BOARD=$1 RIOTBASE="$(dirname "$0")/../../.." -APPLICATIONS="$APPLICATIONS examples/*/Makefile" -APPLICATIONS="$APPLICATIONS tests/*/Makefile" TMPFILE="$(mktemp)" -for app in ${APPLICATIONS}; do - application="$(dirname "${app}")" +APPLICATIONS="${APPLICATIONS} $(make -sC "${RIOTBASE}" info-applications)" + +for application in ${APPLICATIONS}; do printf "${CNORMAL}%-40s${CRESET}" "${application}" # disable warning about globbing and word splitting for ${LOCAL_MAKE_ARGS} # as this is exactly what we want here