Sisyphus repositório
Última atualização: 15 maio 2021 | SRPMs: 17575 | Visitas: 20956274
en ru br
ALT Linux repositórios
4.1: 20071130-alt1

Group :: Development/Tools
RPM: ltp

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

# SPDX-License-Identifier: GPL-2.0-only
%define _unpackaged_files_terminate_build 1
%define _stripped_files_terminate_build 1

Name: ltp
Version: 20210121
Release: alt2

Summary: Linux Test Project
License: GPL-2.0-only
Group: Development/Tools

Source: %name-%version.tar
BuildRequires: libacl-devel
BuildRequires: libaio-devel
BuildRequires: libcap-devel
BuildRequires: libkeyutils-devel
BuildRequires: libmm-devel
%ifnarch armh
BuildRequires: libnuma-devel
BuildRequires: libselinux-devel
BuildRequires: libssl-devel
BuildRequires: libxfs-devel

# No Reqs at all, because there is tons of them.

# Idea is - all tests are optional, so we should not provide ready-to-go
# ability to run any tests. Install required dependencies manually just
# for the tests you want to run.
AutoReqProv: off
%add_verify_elf_skiplist /usr/lib/ltp/testcases/*

The Linux Test Project has a goal to deliver test suites to the open source
community that validate the reliability, robustness, and stability of Linux.

The LTP testsuite contains a collection of tools for testing the Linux kernel
and related features. Our goal is to improve the Linux kernel and system
libraries by bringing test automation to the testing effort. Interested open
source contributors are encouraged to join.

Testing Linux, one syscall at a time.


# From LTP's travis.

%add_optflags -Werror=implicit-function-declaration -fno-common
# Just reduce amount of warnings for too old code.
%add_optflags -Wno-unused-parameter -Wno-unused-result -Wno-old-style-declaration
%configure \
--prefix=/usr/lib/ltp \
--with-open-posix-testsuite \
%make_build --output-sync=none

%makeinstall_std -j%__nprocs --output-sync=none
find %buildroot/usr/lib/ltp -perm /g+w | xargs chmod g-w
# Create output dirs (will have tmp-like permissions).
mkdir %buildroot/usr/lib/ltp/{output,results}

# EZ-Lanucher.

mkdir -p %buildroot/%_bindir
cat > %buildroot/%_bindir/runltp <<-EOF
exec /usr/lib/ltp/runltp "\$ at "
chmod a+x %buildroot/%_bindir/runltp


if [ -d /.host -a -d /.in -a -d /.out ]; then
chmod 1777 /usr/lib/ltp/{output,results}



Todas as alterações você pod ver aqui

projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009