#!/bin/sh

make check

# If the tests fail, prevent the commit
if [ $? -ne 0 ]; then
  echo "Tests failed. Commit aborted."
  exit 1
fi
