summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended
diff options
context:
space:
mode:
authorPetr Vorel <petr.vorel@gmail.com>2024-01-31 19:32:43 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-02-05 14:06:10 +0000
commitb6abbf4402ac5310fd94814424fc031c216f9903 (patch)
tree9dcb9fe7713de13dbb6913687f00871dd4fdfe7b /meta/recipes-extended
parent0a9e45a4133603dbf79b9da40f49e76ad6f62efd (diff)
downloadpoky-b6abbf4402ac5310fd94814424fc031c216f9903.tar.gz
ltp: Update to 20240129
Removed patch accepted upstream as 8c53cc947 ("testcases/kernel/syscalls/fcntl: define _LARGEFILE64_SOURCE") Rebase runtest/mm patch. [RP: Drop connectors group since dropped upstream: https://github.com/linux-test-project/ltp/commit/9b642d89c0bcf5885b051c2d5768fa94b61d86cb Drop fsx too: https://github.com/linux-test-project/ltp/commit/fb2b6a0b3c840aa80229acf4360b7bdc3ced5edb ] (From OE-Core rev: b2867cac5ac58862469f0c6c056607abeca0b0d0) Signed-off-by: Petr Vorel <petr.vorel@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r--meta/recipes-extended/ltp/ltp/0001-Remove-OOM-tests-from-runtest-mm.patch6
-rw-r--r--meta/recipes-extended/ltp/ltp/0001-testcases-kernel-syscalls-fcntl-define-_LARGEFILE64_.patch28
-rw-r--r--meta/recipes-extended/ltp/ltp_20240129.bb (renamed from meta/recipes-extended/ltp/ltp_20230929.bb)3
3 files changed, 4 insertions, 33 deletions
diff --git a/meta/recipes-extended/ltp/ltp/0001-Remove-OOM-tests-from-runtest-mm.patch b/meta/recipes-extended/ltp/ltp/0001-Remove-OOM-tests-from-runtest-mm.patch
index 6d945700be..cc98079651 100644
--- a/meta/recipes-extended/ltp/ltp/0001-Remove-OOM-tests-from-runtest-mm.patch
+++ b/meta/recipes-extended/ltp/ltp/0001-Remove-OOM-tests-from-runtest-mm.patch
@@ -14,10 +14,10 @@ Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
14 1 file changed, 6 deletions(-) 14 1 file changed, 6 deletions(-)
15 15
16diff --git a/runtest/mm b/runtest/mm 16diff --git a/runtest/mm b/runtest/mm
17index 6537666a9..e5a091a5a 100644 17index d859b331c..3c2962f44 100644
18--- a/runtest/mm 18--- a/runtest/mm
19+++ b/runtest/mm 19+++ b/runtest/mm
20@@ -73,12 +73,6 @@ ksm06_2 ksm06 -n 8000 20@@ -74,12 +74,6 @@ ksm07 ksm07
21 21
22 cpuset01 cpuset01 22 cpuset01 cpuset01
23 23
@@ -31,5 +31,5 @@ index 6537666a9..e5a091a5a 100644
31 31
32 thp01 thp01 -I 120 32 thp01 thp01 -I 120
33-- 33--
342.33.0 342.43.0
35 35
diff --git a/meta/recipes-extended/ltp/ltp/0001-testcases-kernel-syscalls-fcntl-define-_LARGEFILE64_.patch b/meta/recipes-extended/ltp/ltp/0001-testcases-kernel-syscalls-fcntl-define-_LARGEFILE64_.patch
deleted file mode 100644
index dbe63f2170..0000000000
--- a/meta/recipes-extended/ltp/ltp/0001-testcases-kernel-syscalls-fcntl-define-_LARGEFILE64_.patch
+++ /dev/null
@@ -1,28 +0,0 @@
1From f4f75ce9218b469d91b536218de3323977edc529 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex@linutronix.de>
3Date: Tue, 13 Jun 2023 15:10:33 +0200
4Subject: [PATCH] testcases/kernel/syscalls/fcntl: define _LARGEFILE64_SOURCE
5
6This is required for off64_t to be available on musl systems.
7
8Upstream-Status: Submitted [https://github.com/linux-test-project/ltp/pull/1047]
9Signed-off-by: Alexander Kanavin <alex@linutronix.de>
10---
11 testcases/kernel/syscalls/fcntl/Makefile | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14diff --git a/testcases/kernel/syscalls/fcntl/Makefile b/testcases/kernel/syscalls/fcntl/Makefile
15index df663a50a..aac774111 100644
16--- a/testcases/kernel/syscalls/fcntl/Makefile
17+++ b/testcases/kernel/syscalls/fcntl/Makefile
18@@ -17,6 +17,6 @@ include $(abs_srcdir)/../utils/newer_64.mk
19
20 %_64: CPPFLAGS += -D_FILE_OFFSET_BITS=64
21
22-CPPFLAGS += -D_GNU_SOURCE
23+CPPFLAGS += -D_GNU_SOURCE -D_LARGEFILE64_SOURCE
24
25 include $(top_srcdir)/include/mk/generic_leaf_target.mk
26--
272.30.2
28
diff --git a/meta/recipes-extended/ltp/ltp_20230929.bb b/meta/recipes-extended/ltp/ltp_20240129.bb
index 5c43346883..5cd33bb6a3 100644
--- a/meta/recipes-extended/ltp/ltp_20230929.bb
+++ b/meta/recipes-extended/ltp/ltp_20240129.bb
@@ -24,12 +24,11 @@ TUNE_CCARGS:remove:x86-64 = "-mfpmath=sse"
24 24
25CFLAGS:append:powerpc64 = " -D__SANE_USERSPACE_TYPES__" 25CFLAGS:append:powerpc64 = " -D__SANE_USERSPACE_TYPES__"
26CFLAGS:append:mipsarchn64 = " -D__SANE_USERSPACE_TYPES__" 26CFLAGS:append:mipsarchn64 = " -D__SANE_USERSPACE_TYPES__"
27SRCREV = "110d3be6a9c58674de3e366b96a70f0129a5d299" 27SRCREV = "68737d20556d37364c95776044b1119c0912a36a"
28 28
29SRC_URI = "git://github.com/linux-test-project/ltp.git;branch=master;protocol=https \ 29SRC_URI = "git://github.com/linux-test-project/ltp.git;branch=master;protocol=https \
30 file://0001-Remove-OOM-tests-from-runtest-mm.patch \ 30 file://0001-Remove-OOM-tests-from-runtest-mm.patch \
31 file://disable_hanging_tests.patch \ 31 file://disable_hanging_tests.patch \
32 file://0001-testcases-kernel-syscalls-fcntl-define-_LARGEFILE64_.patch \
33 " 32 "
34 33
35S = "${WORKDIR}/git" 34S = "${WORKDIR}/git"