-
Notifications
You must be signed in to change notification settings - Fork 187
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Starting .spec file for integration tests #63
- Loading branch information
Showing
1 changed file
with
66 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
#----------------------------------------------------------------------------bh- | ||
# This RPM .spec file is part of the OpenHPC project. | ||
# | ||
# It may have been modified from the default version supplied by the underlying | ||
# release package (if available) in order to apply patches, perform customized | ||
# build/install configurations, and supply additional files to support | ||
# desired integration conventions. | ||
# | ||
#----------------------------------------------------------------------------eh- | ||
|
||
%include %{_sourcedir}/OHPC_macros | ||
%{!?PROJ_DELIM: %global PROJ_DELIM -ohpc} | ||
|
||
Summary: Integration test stuie for OpenHPC | ||
Name: tests%{PROJ_DELIM} | ||
Version: 1.3 | ||
Release: 1 | ||
License: Apache-2.0 | ||
Group: %{PROJ_NAME}/admin | ||
BuildArch: noarch | ||
URL: https://github.com/openhpc/ohpc/tests | ||
Source0: tests-ohpc.tar | ||
Source1: OHPC_macros | ||
|
||
BuildRequires: autoconf%{PROJ_DELIM} | ||
BuildRequires: automake%{PROJ_DELIM} | ||
|
||
BuildRoot: %{_tmppath}/%{pname}-%{version}-%{release}-root | ||
DocDir: %{OHPC_PUB}/doc/contrib | ||
|
||
%define testuser ohpctest | ||
|
||
%description | ||
|
||
This package provides a suite of integration tests used by the OpenHPC project | ||
during continuous integration. Most components can be tested individually, but | ||
a default configuration is setup to enable collective testing. The test suite | ||
is made available under an 'ohpctest' user account. | ||
|
||
%prep | ||
%setup -n tests-ohpc | ||
|
||
%build | ||
|
||
./bootstrap | ||
./configure --prefix=/home/%{testuser} | ||
|
||
%install | ||
make install DESTDIR=$RPM_BUILD_ROOT | ||
|
||
|
||
%clean | ||
rm -rf $RPM_BUILD_ROOT | ||
|
||
%post | ||
|
||
%postun | ||
|
||
|
||
%files | ||
%defattr(-,root,root,-) | ||
%dir /home/%{testuser} | ||
|
||
|
||
|
||
|