check-all.sh

Sun, 03 Nov 2024 19:36:21 +0100

author
Mike Becker <universe@uap-core.de>
date
Sun, 03 Nov 2024 19:36:21 +0100
changeset 982
7a88b8a05ae1
parent 981
723bbd868f35
permissions
-rwxr-xr-x

add -c flag to ARFLAGS to suppress diagnostic message on stderr

#!/bin/sh

for cc in clang gcc; do
  make clean > /dev/null
  CC=$cc ./configure --debug > /dev/null
  printf "Check $cc... "
  if ! make check > /dev/null ; then
    echo "fail."
    exit 1
  else
    echo "ok."
  fi
done

mercurial