#148 [Do not merge] test if build_compat would work as a gating test
Opened 2 years ago by jcheca. Modified a year ago
rpms/ jcheca/llvm attempt-test-build-compat  into  rawhide

file modified
+4 -1
@@ -1,3 +1,6 @@ 

  summary: Make sure rebuilding LLVM still works with the new LLVM

  test: "$WITH_SCL ./test.sh"

- enabled: false

+ enabled: true

+ duration: 5h

+ require:

+   - mock 

\ No newline at end of file

file modified
+9 -1
@@ -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

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci

@jcheca Can we close this PR now?