check-all.sh

Sun, 03 Nov 2024 19:30:50 +0100

author
Mike Becker <universe@uap-core.de>
date
Sun, 03 Nov 2024 19:30:50 +0100
changeset 981
723bbd868f35
permissions
-rwxr-xr-x

add script to invoke make check with different configurations

#!/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