From 5d94695e9ad42343e72918024c046f22fe4941a0 Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Wed, 21 Aug 2013 00:50:41 -0700 Subject: tests: Create a regression-tests package for distribution As of today regression tests are an in-house breed, by making it a new package and distributing it ensures larger set of people use it and contribute to it. This can also be used by any consumer/user to build their own environment for glusterfs regression testing which is today limited only to 'upstream' 'glusterfs' releases and build.gluster.org Change-Id: I4f7e9fd1c49982dcf0d788ef6a83ffe895a956ac BUG: 764966 Signed-off-by: Harshavardhana Reviewed-on: http://review.gluster.org/5674 Reviewed-by: Niels de Vos Tested-by: Gluster Build System --- glusterfs.spec.in | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) (limited to 'glusterfs.spec.in') diff --git a/glusterfs.spec.in b/glusterfs.spec.in index d654c085c..39fc23aa6 100644 --- a/glusterfs.spec.in +++ b/glusterfs.spec.in @@ -1,4 +1,3 @@ - %global _hardened_build 1 %global _for_fedora_koji_builds 0 @@ -393,6 +392,19 @@ is in user space and easily manageable. This package provides the api include files. +%package regression-tests +Summary: Development Tools +Group: Development/Tools +Requires: %{name} = %{version}-%{release} +Requires: %{name}-fuse = %{version}-%{release} +Requires: %{name}-server = %{version}-%{release} +Requires: perl(App::Prove) perl(Test::Harness) gcc util-linux-ng lvm2 +Requires: python attr dbench git nfs-utils xfsprogs + +%description regression-tests +The Gluster Test Framework, is a suite of scripts used for +regression testing of Gluster. + %prep %setup -q -n %{name}-%{version}%{?prereltag} %if ( 0%{_for_fedora_koji_builds} ) @@ -776,6 +788,11 @@ fi %{_libdir}/libgfapi.so %{_includedir}/glusterfs/api/* +%files regression-tests +%defattr(-,root,root,-) +%{_datarootdir}/glusterfs/* +%exclude %{_datarootdir}/glusterfs/tests/basic/rpm.t + %post server # Legacy server %_init_enable glusterd @@ -839,6 +856,10 @@ if [ $1 -ge 1 ]; then fi %changelog +* Tue Sep 17 2013 Harshavardhana +- Provide a new package called "glusterfs-regression-tests" for standalone + regression testing. + * Thu Aug 22 2013 Niels de Vos - Correct the day/date for some entries in this changelog (#1000019) -- cgit