Skip to content
Snippets Groups Projects
Commit 454f5de2 authored by mjmac's avatar mjmac
Browse files

b=12348

i=scjody
i=adilger

* Create a lustre-tests RPM that includes stuff from lustre/tests
parent 934facec
No related branches found
No related tags found
No related merge requests found
...@@ -530,7 +530,7 @@ BuildKernel() ...@@ -530,7 +530,7 @@ BuildKernel()
--kerneldir $RPM_SOURCE_DIR \ --kerneldir $RPM_SOURCE_DIR \
-j $RPM_BUILD_NCPUS \ -j $RPM_BUILD_NCPUS \
--destdir $RPM_BUILD_ROOT \ --destdir $RPM_BUILD_ROOT \
-- --disable-tests \ -- --enable-tests \
@CONFIGURE_FLAGS@ @CONFIGURE_FLAGS@
} }
......
...@@ -68,6 +68,16 @@ Conflicts: lustre-deps-sles ...@@ -68,6 +68,16 @@ Conflicts: lustre-deps-sles
This package has RPM dependencies appropriate for RHEL, RHL, and FC This package has RPM dependencies appropriate for RHEL, RHL, and FC
systems. 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 %prep
%setup -qn lustre-%{version} %setup -qn lustre-%{version}
...@@ -158,6 +168,9 @@ fi ...@@ -158,6 +168,9 @@ fi
# %files deps-sles # %files deps-sles
# %files deps-rhel # %files deps-rhel
%files tests
%attr(-, root, root) %{_libdir}/lustre/tests/*
%post modules %post modules
if [ -f /boot/System.map-%{kversion} ]; then if [ -f /boot/System.map-%{kversion} ]; then
depmod -ae -F /boot/System.map-%{kversion} %{kversion} || exit 0 depmod -ae -F /boot/System.map-%{kversion} %{kversion} || exit 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment