test.sh 347 B

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