| 1234567891011121314151617181920212223242526 |
- #!/bin/bash
- set -e
- build_dir=$1
- # Change to the glibc build directory
- cd "${build_dir}/build"
- echo "Running glibc test suite..."
- echo "Note: The glibc test suite is critical and should not be skipped."
- echo "Some test failures may be expected and are generally safe to ignore."
- # Run the test suite
- make check
- echo "Test suite completed."
- echo ""
- echo "Common test failures that can generally be ignored:"
- echo "- io/tst-lchmod: Known to fail in LFS chroot environment"
- echo "- nss/tst-nss-files-hosts-multi: May fail due to timeout"
- echo "- nptl/tst-thread-affinity*: May fail due to timeout"
- echo "- elf/tst-cpu-features-cpuinfo: May fail with older CPU models"
- echo "- stdlib/tst-arc4random-thread: May fail with older host kernel"
- echo ""
- echo "To check for timeout failures:"
- echo "grep \"Timed out\" \$(find -name \\\\*.out)"
|