llvm/tests/build-compat/test.sh
Timm Bäder e9e5adc47f Update to 14.0.5
Resolves: rhbz#2061056
2022-06-20 14:03:50 +02:00

15 lines
298 B
Bash
Executable File

#!/bin/sh -eux
dnf download --disablerepo=* --enablerepo=test-llvm --source llvm
# The src.rpm is available in the directory the test run from.
set +e
mock --resultdir=. --old-chroot --with compat_build --rebuild *.src.rpm
if [ $? -ne 0 ]; then
cat root.log
cat build.log
exit 1
fi
exit 0