From 31f99e7ad0cacc734aa31890ad46e3c3039fa970 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}