check-all.sh

Thu, 07 Nov 2024 20:22:56 +0100

author
Mike Becker <universe@uap-core.de>
date
Thu, 07 Nov 2024 20:22:56 +0100
changeset 984
e8f354a25ac8
parent 981
723bbd868f35
permissions
-rwxr-xr-x

let cxMapDestroy() ignore NULL as any free()-like function should do

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