#!/bin/bash set -e # Change to the source directory cd sources/xz echo "Running tests for xz..." # Run the test suite using all available threads make check -j$(nproc) echo "Tests completed."