Skip to contentSkip to conversation

ltp-ddt:Update to 20210524

PATCH Superseded Yogesh Siraswar 1 participant 1 message Jun 16, 2021

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ltp-ddt:Update to 20210524

Updated ltp to 20210524 on dunfell

---
 ...001-Remove-OOM-tests-from-runtest-mm.patch | 31 +++++++++++++
 .../ltp/ltp/disable_hanging_tests.patch       | 45 +++++++++++++++++++
 .../ltp/ltp_20210524.bbappend                 | 27 +++++++++++
 ...tp-ddt_20200120.bb => ltp-ddt_20210524.bb} |  4 +-
 4 files changed, 105 insertions(+), 2 deletions(-)
 create mode 100644 meta-arago-distro/recipes-extended/ltp/ltp/0001-Remove-OOM-tests-from-runtest-mm.patch
 create mode 100644 meta-arago-distro/recipes-extended/ltp/ltp/disable_hanging_tests.patch
 create mode 100644 meta-arago-distro/recipes-extended/ltp/ltp_20210524.bbappend
 rename meta-arago-extras/recipes-devtools/ltp-ddt/{ltp-ddt_20200120.bb => ltp-ddt_20210524.bb} (94%)
meta-arago-distro/recipes-extended/ltp/ltp/0001-Remove-OOM-tests-from-runtest-mm.patch new file +31 -0
new file mode 100644
index 00000000..e51950f1
@@ -0,0 +1,31 @@
+From 93772c511d954d755cc9128c58ed8968a5af541b Mon Sep 17 00:00:00 2001
+From: "Mingde (Matthew) Zeng" <[email protected]>
+Date: Wed, 29 Jul 2020 08:47:09 -0400
+Subject: [PATCH] Remove OOM tests from runtest/mm
+
+Disable OOM tests, as they might cause oeqa ssh connection lost
+
+Upstream-Status: Inappropriate [oe-core specific]
+Signed-off-by: Mingde (Matthew) Zeng <[email protected]>
+
+---
+ runtest/mm | 6 ------
+ 1 file changed, 6 deletions(-)
+
+diff --git a/runtest/mm b/runtest/mm
+index 481d39691..cf207d10e 100644
+--- a/runtest/mm
++++ b/runtest/mm
+@@ -74,12 +74,6 @@ ksm06_2 ksm06 -n 10000
+ 
+ cpuset01 cpuset01
+ 
+-oom01 oom01
+-oom02 oom02
+-oom03 oom03
+-oom04 oom04
+-oom05 oom05
+-
+ swapping01 swapping01 -i 5
+ 
+ thp01 thp01 -I 120
meta-arago-distro/recipes-extended/ltp/ltp/disable_hanging_tests.patch new file +45 -0

45 lines not on this page · raw message

meta-arago-distro/recipes-extended/ltp/ltp_20210524.bbappend new file +27 -0
new file mode 100644
index 00000000..bfe4ddb0
@@ -0,0 +1,27 @@
+SRCREV = "0fb171f2beddaf64bd27597577c206c0f892b3cd"
+
+SRC_URI = "git://github.com/linux-test-project/ltp.git \
+           file://0001-Remove-OOM-tests-from-runtest-mm.patch \
+           file://disable_hanging_tests.patch \
+           "
+remove_broken_musl_sources() {
+	[ "${TCLIBC}" = "musl" ] || return 0
+
+	cd ${S}
+	echo "WARNING: remove unsupported tests (until they're fixed)"
+
+	# sync with upstream
+	# https://github.com/linux-test-project/ltp/blob/master/travis/alpine.sh#L33
+	rm -rfv \
+		testcases/kernel/sched/process_stress/process.c \
+		testcases/kernel/syscalls/confstr/confstr01.c \
+		testcases/kernel/syscalls/fmtmsg/fmtmsg01.c \
+		testcases/kernel/syscalls/getcontext/getcontext01.c \
+		testcases/kernel/syscalls/rt_tgsigqueueinfo/rt_tgsigqueueinfo01.c \
+		testcases/kernel/syscalls/timer_create/timer_create01.c \
+		testcases/kernel/syscalls/timer_create/timer_create03.c \
+		utils/benchmark/ebizzy-0.3
+}
+do_patch[postfuncs] += "remove_broken_musl_sources"
+
+
meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20210524.bb renamed from meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20200120.bb +2 -2
similarity index 94%
rename from meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20200120.bb
rename to meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20210524.bb
index 67ec1d74..cb4c7944 100644
@@ -10,10 +10,10 @@ PROVIDES += "ltp"
 DEPENDS += "alsa-lib"
 
 PE = "1"
-PR = "r13"
+PR = "r1"
 PV_append = "+git${SRCPV}"
 
-SRCREV = "31f9cfa61ae4102da6fa87f624130096c09d63a2"
+SRCREV = "21b2b2e3ce3d30a685cd64c05cfd5920eca9be21"
 BRANCH ?= "master"
 
 SRC_URI_remove = "git://github.com/linux-test-project/ltp.git"
Signature · 1 line
2.17.1