From 454f5de21d15770f47909da920ec497f0c78bbd7 Mon Sep 17 00:00:00 2001 From: mjmac <mjmac> Date: Fri, 8 Jun 2007 15:49:31 +0000 Subject: [PATCH] b=12348 i=scjody i=adilger * Create a lustre-tests RPM that includes stuff from lustre/tests --- build/lustre-kernel-2.4.spec.in | 2 +- build/lustre.spec.in | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/build/lustre-kernel-2.4.spec.in b/build/lustre-kernel-2.4.spec.in index c610623689..208bc77202 100644 --- a/build/lustre-kernel-2.4.spec.in +++ b/build/lustre-kernel-2.4.spec.in @@ -530,7 +530,7 @@ BuildKernel() --kerneldir $RPM_SOURCE_DIR \ -j $RPM_BUILD_NCPUS \ --destdir $RPM_BUILD_ROOT \ - -- --disable-tests \ + -- --enable-tests \ @CONFIGURE_FLAGS@ } diff --git a/build/lustre.spec.in b/build/lustre.spec.in index 4a9ef8eb02..9d49616ad1 100644 --- a/build/lustre.spec.in +++ b/build/lustre.spec.in @@ -68,6 +68,16 @@ Conflicts: lustre-deps-sles This package has RPM dependencies appropriate for RHEL, RHL, and FC systems. +%package tests +Summary: Lustre testing framework +Group: Development/Kernel +Provides: lustre-tests = %{version} +Requires: lustre = %{version} + +%description tests +This package contains a set of test binaries and scripts that are intended +to be used by the Lustre testing framework. + %prep %setup -qn lustre-%{version} @@ -158,6 +168,9 @@ fi # %files deps-sles # %files deps-rhel +%files tests +%attr(-, root, root) %{_libdir}/lustre/tests/* + %post modules if [ -f /boot/System.map-%{kversion} ]; then depmod -ae -F /boot/System.map-%{kversion} %{kversion} || exit 0 -- GitLab