| |
@@ -1,11 +1,19 @@
|
| |
#!/bin/sh -eux
|
| |
|
| |
+ # Rough guess of how much the test would take
|
| |
+ date
|
| |
+
|
| |
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
|
| |
+ mockret=$?
|
| |
+
|
| |
+ # Rough guess of how much the test would take
|
| |
+ date
|
| |
+
|
| |
+ if [ $mockret -ne 0 ]; then
|
| |
cat root.log
|
| |
cat build.log
|
| |
exit 1
|
| |
This is a dummy PR to assess if build_compat test is suitable to be enabled as llvm gating test or not.
Please do not merge it