#!/bin/bash set -e # With simpleBuildEnvironment flag, we're already in build directory # which is a copy of the source tree build_dir=$1 # Change to the bzip2 source directory cd sources/bzip2-1.0.8 echo "Running bzip2 tests..." # Run the test suite that's included in the Makefile make -f Makefile test echo "All tests passed successfully."