Bug 813386 - [RFE] Run the upstream nspr test suite as part of the build
Summary: [RFE] Run the upstream nspr test suite as part of the build
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: nspr
Version: 5.9
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Elio Maldonado Batiz
QA Contact: Aleš Mareček
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-17 15:51 UTC by Elio Maldonado Batiz
Modified: 2014-02-12 20:06 UTC (History)
1 user (show)

Fixed In Version: nspr-4.9.5-2.el5
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-02-12 20:06:53 UTC
Target Upstream Version:


Attachments (Terms of Use)
Changes to spec file to run the tests in patch form (1.11 KB, patch)
2012-04-17 15:58 UTC, Elio Maldonado Batiz
kengert: review+
Details | Diff

Description Elio Maldonado Batiz 2012-04-17 15:51:54 UTC
Description of problem: Per the packaging guidelines we should run the test suite
as part of the build. This should be done in the spec file's %check section and the build should fail if any test fails. QE runs the test as  part of a shell script afterwards but it's best to do that and build time.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Build nspr with repmbuild --rebuild path-to-nspr-source-rpm
  
Actual results:
No tests are run

Expected results:
The test suite is run

Additional info:
We already do that for rhel 6.x, we should do likewise.

Comment 1 Elio Maldonado Batiz 2012-04-17 15:58:39 UTC
Created attachment 578083 [details]
Changes to spec file to run the tests in patch form

Comment 2 Kai Engert (:kaie) (inactive account) 2012-04-18 00:18:29 UTC
Comment on attachment 578083 [details]
Changes to spec file to run the tests in patch form

r=kaie

Comment 3 Elio Maldonado Batiz 2013-03-21 21:31:23 UTC
Our own Packaging Guidelines require that on the spec file's %check section we run the test suite that upstream provides. It's time we comply with such good practice on RHEL-5.x as we already do on RHEL-6.x.

Comment 4 RHEL Program Management 2013-05-01 07:11:58 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unable to address this
request at this time.

Red Hat invites you to ask your support representative to
propose this request, if appropriate, in the next release of
Red Hat Enterprise Linux.

Comment 5 Elio Maldonado Batiz 2013-07-01 15:49:43 UTC
Fixed with nspr-4.9.5-2.el5 as part of fixing Bug 737704.

Comment 6 Elio Maldonado Batiz 2014-02-12 20:06:53 UTC
Funny, I have been asked to verify as as I was the bug reporter. I verified by examining http://download.devel.redhat.com/brewroot/packages/nspr/4.9.5/2.el5/data/logs/s390/build.log
As you can see the nspr usptream test suite was executed. Had any test failed the build would have failed.


Note You need to log in before you can comment on or make changes to this bug.