libdatrie/tests/make_check.sh
2021-06-18 19:12:13 +08: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 $?