#!/bin/bash set -e build_dir=$1 src_dir=$(pwd)/sources/zlib-1.3.1 # Change to source directory cd ${src_dir} # Run the test suite make check echo "All tests passed"