Signed-off-by: Angus Salkeld asalkeld@redhat.com --- check | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/check b/check index f5ac1af..e0ec7c3 100755 --- a/check +++ b/check @@ -136,6 +136,18 @@ check_rpm() { set -e }
+ +check_mock() { + echo "checking mock building" + set +e + make maintainer-clean + rm -f *.rpm + ./autogen.sh + ./configure --quiet + make srpm + mock --no-clean --rebuild *.src.rpm +} + check_coverity() { make clean cov-build --dir=cov make @@ -181,6 +193,9 @@ case $command in rpm) check_rpm ;; + mock) + check_mock + ;; dist) check_dist ;;