| 1234567891011121314151617181920212223242526 |
- #!/bin/bash
- set -e
- build_dir=$1
- # With simpleBuildEnvironment flag, we're already in build directory
- echo "Running LZ4 tests..."
- # Check if we need to navigate to lz4 source directory
- if [ ! -f "./Makefile" ]; then
- if [ -d "sources/lz4" ]; then
- cd sources/lz4
- elif [ -d "lz4" ]; then
- cd lz4
- else
- echo "Error: Makefile not found"
- echo "Contents of current directory:"
- ls -la
- exit 1
- fi
- fi
- # Run tests according to LFS instructions
- make -j1 check
- echo "All tests passed."
|