Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 912756 Details for
Bug 1113957
gnulib add tests
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch adds tests
0001-Added-tests.patch (text/plain), 2.43 KB, created by
Jakub Čajka
on 2014-06-27 10:44:24 UTC
(
hide
)
Description:
Patch adds tests
Filename:
MIME Type:
Creator:
Jakub Čajka
Created:
2014-06-27 10:44:24 UTC
Size:
2.43 KB
patch
obsolete
>From a137c8c705f8b141e5f69e80e6f97400ad97f7ab Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Jakub=20=C4=8Cajka?= <jcajka@redhat.com> >Date: Fri, 27 Jun 2014 11:01:36 +0200 >Subject: [PATCH] Added tests > >--- > gnulib.spec | 27 ++++++++++++++++++++++++++- > 1 file changed, 26 insertions(+), 1 deletion(-) > >diff --git a/gnulib.spec b/gnulib.spec >index b683fbc..2d24fe8 100644 >--- a/gnulib.spec >+++ b/gnulib.spec >@@ -45,7 +45,7 @@ It can be used to improve portability and other functionality in your programs. > > Name: gnulib > Version: 0 >-Release: %{tag}.%{gitdate}git%{?dist}.1 >+Release: %{tag}.%{gitdate}git%{?dist}.2 > Summary: GNU Portability Library > Group: Development/System > License: Public Domain and BSD and GPLv2+ and GPLv3 and GPLv3+ and LGPLv2 and LGPLv2+ and LGPLv3+ >@@ -68,6 +68,18 @@ BuildRequires: help2man > > %prep > %setup -q -n %{name}-%{githead} >+ >+#modules not to be tested by direct import >+toRemove="lib-symbol-visibility havelib .*-obsolete localcharset gettext-h gettext alloca-opt alloca " >+ >+list="$(./gnulib-tool --list)" >+for item in $toRemove >+do >+ list="$(echo $list| sed "s:\b$item\b::g")" >+done >+#is necessary to avoid some modules to test prep pass >+./gnulib-tool --create-testdir --with-tests --with-obsolete --avoid=alloca --avoid=lib-symbol-visibility --avoid=havelib --dir=build-tests $list >+ > rm lib/javaversion.class > # MODULE #1 - git-merge-changelog > ./gnulib-tool --create-testdir --dir=build-%{module1} %{module1} >@@ -78,6 +90,11 @@ pushd build-%{module1} > %configure --prefix=%_prefix > make %{?_smp_mflags} > popd >+#tests build >+pushd build-tests >+%configure --prefix=%_prefix >+make %{?_smp_mflags} >+popd > # Rebuild removed java class > javac -d lib -source 1.3 -target 1.3 lib/javaversion.java > # This part is done with the original path >@@ -93,6 +110,11 @@ rm -f */.gitattributes > rm -f lib/.cppi-disable > rm -f lib/uniname/gen-uninames.lisp > >+%check >+pushd build-tests >+make check >+popd >+ > %install > mkdir -p %{buildroot}%{_datadir}/%{name} > mkdir -p %{buildroot}%{_bindir} >@@ -194,6 +216,9 @@ It can be enabled for specific files by setting appropriate git attributes. > #------------------------------------------------------------------------- > > %changelog >+* Fri Jun 27 2014 Jakub Äajka <jcajka@redhat.com> - 0-8.20140504git.2 >+- Added tests >+ > * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-8.20140504git.1 > - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild > >-- >1.9.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1113957
: 912756