mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
Add recipe for LTP.
Just for reference, it is Linux specific and doesn't compile at all for us. We may try to extract relevant tests from it and ressurect the Open POSIX testsuite...
This commit is contained in:
54
app-benchmarks/ltp/ltp-20140422.recipe
Normal file
54
app-benchmarks/ltp/ltp-20140422.recipe
Normal file
@@ -0,0 +1,54 @@
|
||||
SUMMARY="Testing Linux, one syscall at a time."
|
||||
DESCRIPTION="
|
||||
The Linux Test Project is a joint project started by SGI, developed and
|
||||
maintained by IBM, Cisco, Fujitsu, SUSE, Red Hat and others, that 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.
|
||||
"
|
||||
HOMEPAGE="http://linux-test-project.github.io/"
|
||||
SRC_URI="https://github.com/linux-test-project/ltp/archive/20140422.tar.gz"
|
||||
CHECKSUM_SHA256="0356ba208813efb3d9be6a530a9b56688281b6ac9d80ba901920ec07cf250f2e"
|
||||
REVISION="1"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
ltp = $portVersion
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:automake
|
||||
cmd:autoconf
|
||||
cmd:find
|
||||
cmd:cc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make autotools
|
||||
runConfigure ./configure
|
||||
make all $jobArgs CFLAGS="-DB_USE_POSITIVE_POSIX_ERRORS" CXXFLAGS="-DB_USE_POSITIVE_POSIX_ERRORS" LDFLAGS="-lposix_error_mapper"
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
$prefix/ltp/runltp
|
||||
}
|
||||
|
||||
LICENSE="GNU GPL v2"
|
||||
COPYRIGHT="2002-2004 Intel Corporation. All rights reserved.
|
||||
2004, QUALCOMM Inc. All rights reserved.
|
||||
2004-2005 Bull S.A.. All rights reserved."
|
||||
Reference in New Issue
Block a user