1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-30 12:29:55 +00:00

ltp: update to 20140828 release

bump SRCREV to 20140828 tag
drop automake-foreign patch - fixed upstream (commit 18594de and edbae29)
add add-know-for-tirpc patch - workaround ftbfs with libtirpc found
update realtime tests fixes upstream status from submitted to backported -
merged upstream

(From OE-Core rev: a1dacd52d8bad948dcea3c39278da1d87e3167af)

Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Fathi Boudra
2014-11-05 12:03:33 +02:00
committed by Richard Purdie
parent 45bb9e3323
commit 2020ba7c48
5 changed files with 43 additions and 24 deletions
@@ -9,7 +9,7 @@ both referenced a non-existent autoconf configuration setting variable.
Replaced the invalid variable name with the variable actually created Replaced the invalid variable name with the variable actually created
by autoconf. by autoconf.
Upstream-Status: Submitted Upstream-Status: Backported
Signed-off-by: Gary S. Robertson <gary.robertson@linaro.org> Signed-off-by: Gary S. Robertson <gary.robertson@linaro.org>
--- ---
@@ -9,7 +9,7 @@ which were not generated by autoconf in order to configure tests
for robust mutexes. Changed these conditionals to use the config for robust mutexes. Changed these conditionals to use the config
variables actually generated in the autoconf process. variables actually generated in the autoconf process.
Upstream-Status: Submitted Upstream-Status: Backported
Signed-off-by: Gary S. Robertson <gary.robertson@linaro.org> Signed-off-by: Gary S. Robertson <gary.robertson@linaro.org>
--- ---
@@ -0,0 +1,37 @@
[PATCH] add knob to control whether tirpc support should be checked
Upstream-Status: Pending
tirpc support is broken upstream. in the meantime, allow to disable tirpc.
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
---
configure.ac | 9 +++++++++
1 file changed, 9 insertions(+)
--- a/configure.ac
+++ b/configure.ac
@@ -98,6 +98,13 @@ if test "x$with_python" = xyes; then
else
AC_SUBST([WITH_PYTHON],["no"])
fi
+
+# TI RPC
+AC_ARG_WITH([tirpc],
+ AC_HELP_STRING([--without-tirpc],
+ [without libtirpc support]),
+ [],[with_tirpc=yes],
+)
# END tools knobs
# Testsuites knobs
@@ -182,7 +189,9 @@ LTP_CHECK_RENAMEAT
LTP_CHECK_FALLOCATE
LTP_CHECK_SYSCALL_FCNTL
LTP_CHECK_SYSCALL_PERF_EVENT_OPEN
+if test "x$with_tirpc" = xyes; then
LTP_CHECK_TIRPC
+fi
LTP_CHECK_TEE
LTP_CHECK_SPLICE
LTP_CHECK_VMSPLICE
@@ -1,20 +0,0 @@
Use foreign strictness to avoid automake errors.
Upstream-Status: Submitted (https://github.com/linux-test-project/ltp/issues/16)
Signed-off-by: Ross Burton <ross.burton@intel.com>
diff --git a/configure.ac b/configure.ac
index 9f397e7..fc57957 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4 +4 @@
-AM_INIT_AUTOMAKE
+AM_INIT_AUTOMAKE([foreign])
--- a/utils/ffsb-6.0-rc2/configure.in
+++ b/utils/ffsb-6.0-rc2/configure.in
@@ -2,2 +2,3 @@ dnl Process this file with autoconf to produce a configure script.
-AC_INIT(main.c)
-AM_INIT_AUTOMAKE(ffsb, 6.0-RC2)
+AC_INIT([ffsb], [6.0-RC2])
+AC_CONFIG_SRCDIR([main.c])
+AM_INIT_AUTOMAKE([foreign])
@@ -20,16 +20,16 @@ LIC_FILES_CHKSUM = "\
" "
DEPENDS = "attr libaio libcap acl openssl zip-native" DEPENDS = "attr libaio libcap acl openssl zip-native"
SRCREV = "f4c3bfe1eab51eb72caeb0f3336d2790c9a8bd1b" SRCREV = "2c341ad9177f36d9b953e84dee8cf88498286fe5"
SRC_URI = "git://github.com/linux-test-project/ltp.git \ SRC_URI = "git://github.com/linux-test-project/ltp.git \
file://0001-Rename-runtests_noltp.sh-script-so-have-unique-name.patch \ file://0001-Rename-runtests_noltp.sh-script-so-have-unique-name.patch \
file://ltp-Do-not-link-against-libfl.patch \ file://ltp-Do-not-link-against-libfl.patch \
file://automake-foreign.patch \
file://make-setregid02-work.patch \ file://make-setregid02-work.patch \
file://add-knob-for-numa.patch \ file://add-knob-for-numa.patch \
file://0001-Realtime-tests-Fix-bad-priority-inheritance-conditio.patch \ file://0001-Realtime-tests-Fix-bad-priority-inheritance-conditio.patch \
file://0001-Realtime-tests-Fix-robust-mutex-conditionals.patch \ file://0001-Realtime-tests-Fix-robust-mutex-conditionals.patch \
file://add-knob-for-tirpc.patch \
" "
S = "${WORKDIR}/git" S = "${WORKDIR}/git"
@@ -44,6 +44,8 @@ export exec_prefix = "/opt/ltp"
PACKAGECONFIG[numa] = "--with-numa, --without-numa, numactl," PACKAGECONFIG[numa] = "--with-numa, --without-numa, numactl,"
EXTRA_AUTORECONF += "-I ${S}/testcases/realtime/m4" EXTRA_AUTORECONF += "-I ${S}/testcases/realtime/m4"
EXTRA_OECONF = " --with-power-management-testsuite --with-realtime-testsuite " EXTRA_OECONF = " --with-power-management-testsuite --with-realtime-testsuite "
# ltp network/rpc test cases ftbfs when libtirpc is found
EXTRA_OECONF += " --without-tirpc "
# ltp doesn't regenerate ffsb-6.0-rc2 configure and hardcode configure call. # ltp doesn't regenerate ffsb-6.0-rc2 configure and hardcode configure call.
# we explicitly force regeneration of that directory and pass configure options. # we explicitly force regeneration of that directory and pass configure options.