libdatrie/tests/make_check.sh
2023-07-18 11:59:27 +02:00

19 lines
217 B
Bash

#!/bin/bash
set -x
check_return_value () {
if [ $1 != 0 ] ; then
exit $1
fi
}
cd $1
autoreconf -f -i -v
./configure --prefix=/usr
check_return_value $?
make
check_return_value $?
make check
exit $?