ltp: update to 20150119 release
PATCH 1/1 ltp: update to 20150119 release
Update LTP to 20150119 release
1. Remove 2 upstreamed patches
2. Add 'expect' to run time dependency and install the tests which depend on it.
3. ffsb related configuration problem was fixed in this release.
Signed-off-by Maxin B. John <[email protected]>
---
...sts-Fix-bad-priority-inheritance-conditio.patch | 48 -----------------
...ltime-tests-Fix-robust-mutex-conditionals.patch | 62 ----------------------
.../ltp/{ltp_20140828.bb => ltp_20150119.bb} | 16 +-----
3 files changed, 2 insertions(+), 124 deletions(-)
delete mode 100644 meta/recipes-extended/ltp/ltp/0001-Realtime-tests-Fix-bad-priority-inheritance-conditio.patch
delete mode 100644 meta/recipes-extended/ltp/ltp/0001-Realtime-tests-Fix-robust-mutex-conditionals.patch
rename meta/recipes-extended/ltp/{ltp_20140828.bb => ltp_20150119.bb} (84%)meta/recipes-extended/ltp/ltp/0001-Realtime-tests-Fix-bad-priority-inheritance-conditio.patch deleted +0 -48
@@ -1,48 +0,0 @@ -From b601a8d1b39075a5339195fc0a4038f71ec3b49e Mon Sep 17 00:00:00 2001 -From: "Gary S. Robertson" <[email protected]> -Date: Wed, 27 Aug 2014 16:23:56 -0500 -Subject: [LTP][PATCH] Realtime tests: Fix bad priority inheritance conditionals - -testcases/realtime/lib/librttest.c and -testcases/realtime/stress/pi-tests/testpi-3.c -both referenced a non-existent autoconf configuration setting variable. -Replaced the invalid variable name with the variable actually created -by autoconf. - -Upstream-Status: Backported - -Signed-off-by: Gary S. Robertson <[email protected]> ---- - testcases/realtime/lib/librttest.c | 2 +- - testcases/realtime/stress/pi-tests/testpi-3.c | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/testcases/realtime/lib/librttest.c b/testcases/realtime/lib/librttest.c -index c175148..3679058 100644 ---- a/testcases/realtime/lib/librttest.c -+++ b/testcases/realtime/lib/librttest.c -@@ -586,7 +586,7 @@ void *busy_work_us(int us) - - void init_pi_mutex(pthread_mutex_t * m) - { --#if HAVE_DECL_PTHREAD_PRIO_INHERIT -+#if HAS_PRIORITY_INHERIT - pthread_mutexattr_t attr; - int ret; - int protocol; -diff --git a/testcases/realtime/stress/pi-tests/testpi-3.c b/testcases/realtime/stress/pi-tests/testpi-3.c -index 30f38f6..e483945 100644 ---- a/testcases/realtime/stress/pi-tests/testpi-3.c -+++ b/testcases/realtime/stress/pi-tests/testpi-3.c -@@ -365,7 +365,7 @@ int main(int argc, char *argv[]) - - printf("Start %s\n", argv[0]); - --#if HAVE_DECL_PTHREAD_PRIO_INHERIT -+#if HAS_PRIORITY_INHERIT - if (!nopi) { - pthread_mutexattr_t mutexattr; - int protocol; --- -1.7.9.5 -
meta/recipes-extended/ltp/ltp/0001-Realtime-tests-Fix-robust-mutex-conditionals.patch deleted +0 -62
62 lines not on this page · raw message
meta/recipes-extended/ltp/ltp_20150119.bb renamed from meta/recipes-extended/ltp/ltp_20140828.bb +2 -14
@@ -20,15 +20,13 @@ LIC_FILES_CHKSUM = "\ " DEPENDS = "attr libaio libcap acl openssl zip-native" -SRCREV = "2c341ad9177f36d9b953e84dee8cf88498286fe5" +SRCREV = "b6ab85d764339b025526bdaf0b5026a67b3a677a" SRC_URI = "git://github.com/linux-test-project/ltp.git \ file://0001-Rename-runtests_noltp.sh-script-so-have-unique-name.patch \ file://ltp-Do-not-link-against-libfl.patch \ file://make-setregid02-work.patch \ file://add-knob-for-numa.patch \ - file://0001-Realtime-tests-Fix-bad-priority-inheritance-conditio.patch \ - file://0001-Realtime-tests-Fix-robust-mutex-conditionals.patch \ file://add-knob-for-tirpc.patch \ "
@@ -47,12 +45,6 @@ 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. -# we explicitly force regeneration of that directory and pass configure options. -do_configure_append() { - (cd utils/ffsb-6.0-rc2; autoreconf -fvi; ./configure ${CONFIGUREOPTS}) -} - # The makefiles make excessive use of make -C and several include testcases.mk # which triggers a build of the syscall header. To reproduce, build ltp, # then delete the header, then "make -j XX" and watch regen.sh run multiple
@@ -67,13 +59,9 @@ do_install(){ # Copy POSIX test suite into ${D}/opt/ltp/testcases by manual cp -r testcases/open_posix_testsuite ${D}/opt/ltp/testcases - - # We need to remove all scripts which depend on /usr/bin/expect, since expect is not supported in oe-core - # We will add expect for enhancement in future - find ${D} -type f -print | xargs grep "\!.*\/usr\/bin\/expect" | awk -F":" '{print $1}' | xargs rm -f } -RDEPENDS_${PN} = "perl e2fsprogs-mke2fs python-core libaio bash gawk" +RDEPENDS_${PN} = "perl e2fsprogs-mke2fs python-core libaio bash gawk expect" FILES_${PN}-dbg += "\ /opt/ltp/runtest/.debug \
Signature · 1 line
1.9.1