From bd1022e422068600ee1d368902971e759cc3d032 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 21 Aug 2023 22:40:58 +0200 Subject: [PATCH] CI: Run mock in verbose mode to see the logs --- tests/mocktest.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/mocktest.sh b/tests/mocktest.sh index 1804626..a7e3b70 100755 --- a/tests/mocktest.sh +++ b/tests/mocktest.sh @@ -59,8 +59,8 @@ rpmbuild -bs --define '_sourcedir .' ${pkgname}.spec # build the SRPM in mock res=0 -mock --isolation=simple -r $config --enablerepo="$repos" init -mock --isolation=simple -r $config --enablerepo="$repos" "$@" ~/rpmbuild/SRPMS/${pkgname}-*.src.rpm || res=$? +mock --verbose --isolation=simple -r $config --enablerepo="$repos" init +mock --verbose --isolation=simple -r $config --enablerepo="$repos" "$@" ~/rpmbuild/SRPMS/${pkgname}-*.src.rpm || res=$? # move the results to the artifacts directory, so we can examine them artifacts=${TEST_ARTIFACTS:-/tmp/artifacts}