public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/rpm] pmatilai-v6: Make sure that test results are not ignored
Date: Mon, 23 Nov 2026 09:31:16 GMT [thread overview]
Message-ID: <179542627651.1.155642059456555401.rpms-rpm-e3181b4ffb97@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rpm
Branch : pmatilai-v6
Commit : e3181b4ffb9763866bf46f917135584b714b526c
Author : Igor Gnatenko <ignatenkobrain@fedoraproject.org>
Date : 2017-07-24T08:42:04+02:00
Stats : +35/-6 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/rpm/c/e3181b4ffb9763866bf46f917135584b714b526c?branch=pmatilai-v6
Log:
Make sure that test results are not ignored
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
---
diff --git a/0057-find-debuginfo.sh-Remove-non-allocated-NOBITS-sectio.patch b/0057-find-debuginfo.sh-Remove-non-allocated-NOBITS-sectio.patch
index 9970105..1d0be08 100644
--- a/0057-find-debuginfo.sh-Remove-non-allocated-NOBITS-sectio.patch
+++ b/0057-find-debuginfo.sh-Remove-non-allocated-NOBITS-sectio.patch
@@ -22,7 +22,7 @@ Signed-off-by: Mark Wielaard <mark@klomp.org>
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/scripts/find-debuginfo.sh b/scripts/find-debuginfo.sh
-index 5ec52d3..b83e4c6 100644
+index 5ec52d3bc..b83e4c6db 100644
--- a/scripts/find-debuginfo.sh
+++ b/scripts/find-debuginfo.sh
@@ -247,12 +247,16 @@ add_minidebug()
diff --git a/0058-Define-PY_SSIZE_T_CLEAN.patch b/0058-Define-PY_SSIZE_T_CLEAN.patch
index 5e145c5..2cc375d 100644
--- a/0058-Define-PY_SSIZE_T_CLEAN.patch
+++ b/0058-Define-PY_SSIZE_T_CLEAN.patch
@@ -18,7 +18,7 @@ in both python2 and python3.
1 file changed, 1 insertion(+)
diff --git a/python/rpmsystem-py.h b/python/rpmsystem-py.h
-index 50e8770..c8423e3 100644
+index 50e8770e8..c8423e3dc 100644
--- a/python/rpmsystem-py.h
+++ b/python/rpmsystem-py.h
@@ -5,6 +5,7 @@
diff --git a/0059-Fix-error-handling-in-rpmio-Python-binding-test-case.patch b/0059-Fix-error-handling-in-rpmio-Python-binding-test-case.patch
index 5c3df7a..237cbd4 100644
--- a/0059-Fix-error-handling-in-rpmio-Python-binding-test-case.patch
+++ b/0059-Fix-error-handling-in-rpmio-Python-binding-test-case.patch
@@ -9,7 +9,7 @@ Subject: [PATCH] Fix error handling in rpmio Python binding test case
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/rpmpython.at b/tests/rpmpython.at
-index 949673b..eac31b2 100644
+index 949673bd8..eac31b20b 100644
--- a/tests/rpmpython.at
+++ b/tests/rpmpython.at
@@ -53,7 +53,7 @@ for iot in [ 'fpio', 'fdio', 'ufdio', 'gzdio' ]:
diff --git a/0060-Return-error-exit-status-when-make-check-is-failed.patch b/0060-Return-error-exit-status-when-make-check-is-failed.patch
new file mode 100644
index 0000000..63a754e
--- /dev/null
+++ b/0060-Return-error-exit-status-when-make-check-is-failed.patch
@@ -0,0 +1,23 @@
+From ee2eec7c7922f8927b4850b385da26384ad05755 Mon Sep 17 00:00:00 2001
+From: Jun Aruga <jaruga@redhat.com>
+Date: Mon, 3 Jul 2017 17:07:56 +0200
+Subject: [PATCH] Return error exit status when make check is failed.
+
+(cherry picked from commit 45d9f54e9669ed44cc632247483f49a42725849b)
+---
+ tests/Makefile.am | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tests/Makefile.am b/tests/Makefile.am
+index 83586ec67..4ccc1a092 100644
+--- a/tests/Makefile.am
++++ b/tests/Makefile.am
+@@ -125,7 +125,7 @@ check_DATA += testing$(bindir)/rpmbuild
+
+ if HAVE_FAKECHROOT
+ check-local: $(check_DATA)
+- $(SHELL) '$(TESTSUITE)' $(TESTSUITEFLAGS) ||:
++ $(SHELL) '$(TESTSUITE)' $(TESTSUITEFLAGS)
+ else
+ check-local:
+ echo "you need to have fakechroot installed"
diff --git a/rpm.spec b/rpm.spec
index 1d3f09b..88cd9f0 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -29,7 +29,7 @@
Summary: The RPM package management system
Name: rpm
Version: %{rpmver}
-Release: %{?snapver:0.%{snapver}.}35%{?dist}
+Release: %{?snapver:0.%{snapver}.}36%{?dist}
Group: System Environment/Base
Url: http://www.rpm.org/
Source0: http://ftp.rpm.org/releases/%{srcdir}/%{name}-%{srcver}.tar.bz2
@@ -149,8 +149,11 @@ Patch332: 0056-find-debuginfo.sh-Add-keep-section-and-remove-sectio.patch
Patch333: 0057-find-debuginfo.sh-Remove-non-allocated-NOBITS-sectio.patch
# Fix rpmfd_write on big endian arches.
-patch334: 0058-Define-PY_SSIZE_T_CLEAN.patch
-patch335: 0059-Fix-error-handling-in-rpmio-Python-binding-test-case.patch
+Patch334: 0058-Define-PY_SSIZE_T_CLEAN.patch
+Patch335: 0059-Fix-error-handling-in-rpmio-Python-binding-test-case.patch
+
+# Finally make sure that test results are not ignored ;)
+Patch340: 0060-Return-error-exit-status-when-make-check-is-failed.patch
# These are not yet upstream
Patch902: rpm-4.7.1-geode-i686.patch
@@ -648,6 +651,9 @@ exit 0
%doc doc/librpm/html/*
%changelog
+* Mon Jul 24 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.13.0.1-36
+- Make sure that test results are not ignored
+
* Sun Jul 23 2017 Mark Wielaard <mjw@fedoraproject.org> - 4.13.0.1-35
- Fix rpmfd_write on big endian arches.
reply other threads:[~2026-11-23 9:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179542627651.1.155642059456555401.rpms-rpm-e3181b4ffb97@fedoraproject.org \
--to=ignatenkobrain@fedoraproject.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox