mirror of
https://git.yoctoproject.org/poky
synced 2026-02-20 08:29:42 +01:00
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:
9b642d89c0
Drop fsx too:
fb2b6a0b3c
]
(From OE-Core rev: b2867cac5ac58862469f0c6c056607abeca0b0d0)
Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
0a9e45a413
commit
b6abbf4402
@@ -57,9 +57,9 @@ class LtpTestBase(OERuntimeTestCase):
|
||||
|
||||
class LtpTest(LtpTestBase):
|
||||
|
||||
ltp_groups = ["math", "syscalls", "dio", "io", "mm", "ipc", "sched", "nptl", "pty", "containers", "controllers", "filecaps", "cap_bounds", "fcntl-locktests", "connectors", "commands", "net.ipv6_lib", "input","fs_perms_simple"]
|
||||
ltp_groups = ["math", "syscalls", "dio", "io", "mm", "ipc", "sched", "nptl", "pty", "containers", "controllers", "filecaps", "cap_bounds", "fcntl-locktests", "commands", "net.ipv6_lib", "input","fs_perms_simple"]
|
||||
|
||||
ltp_fs = ["fs", "fsx", "fs_bind"]
|
||||
ltp_fs = ["fs", "fs_bind"]
|
||||
# skip kernel cpuhotplug
|
||||
ltp_kernel = ["power_management_tests", "hyperthreading ", "kernel_misc", "hugetlb"]
|
||||
ltp_groups += ltp_fs
|
||||
|
||||
@@ -14,10 +14,10 @@ Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
|
||||
1 file changed, 6 deletions(-)
|
||||
|
||||
diff --git a/runtest/mm b/runtest/mm
|
||||
index 6537666a9..e5a091a5a 100644
|
||||
index d859b331c..3c2962f44 100644
|
||||
--- a/runtest/mm
|
||||
+++ b/runtest/mm
|
||||
@@ -73,12 +73,6 @@ ksm06_2 ksm06 -n 8000
|
||||
@@ -74,12 +74,6 @@ ksm07 ksm07
|
||||
|
||||
cpuset01 cpuset01
|
||||
|
||||
@@ -31,5 +31,5 @@ index 6537666a9..e5a091a5a 100644
|
||||
|
||||
thp01 thp01 -I 120
|
||||
--
|
||||
2.33.0
|
||||
2.43.0
|
||||
|
||||
|
||||
@@ -1,28 +0,0 @@
|
||||
From f4f75ce9218b469d91b536218de3323977edc529 Mon Sep 17 00:00:00 2001
|
||||
From: Alexander Kanavin <alex@linutronix.de>
|
||||
Date: Tue, 13 Jun 2023 15:10:33 +0200
|
||||
Subject: [PATCH] testcases/kernel/syscalls/fcntl: define _LARGEFILE64_SOURCE
|
||||
|
||||
This is required for off64_t to be available on musl systems.
|
||||
|
||||
Upstream-Status: Submitted [https://github.com/linux-test-project/ltp/pull/1047]
|
||||
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
|
||||
---
|
||||
testcases/kernel/syscalls/fcntl/Makefile | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/testcases/kernel/syscalls/fcntl/Makefile b/testcases/kernel/syscalls/fcntl/Makefile
|
||||
index df663a50a..aac774111 100644
|
||||
--- a/testcases/kernel/syscalls/fcntl/Makefile
|
||||
+++ b/testcases/kernel/syscalls/fcntl/Makefile
|
||||
@@ -17,6 +17,6 @@ include $(abs_srcdir)/../utils/newer_64.mk
|
||||
|
||||
%_64: CPPFLAGS += -D_FILE_OFFSET_BITS=64
|
||||
|
||||
-CPPFLAGS += -D_GNU_SOURCE
|
||||
+CPPFLAGS += -D_GNU_SOURCE -D_LARGEFILE64_SOURCE
|
||||
|
||||
include $(top_srcdir)/include/mk/generic_leaf_target.mk
|
||||
--
|
||||
2.30.2
|
||||
|
||||
@@ -24,12 +24,11 @@ TUNE_CCARGS:remove:x86-64 = "-mfpmath=sse"
|
||||
|
||||
CFLAGS:append:powerpc64 = " -D__SANE_USERSPACE_TYPES__"
|
||||
CFLAGS:append:mipsarchn64 = " -D__SANE_USERSPACE_TYPES__"
|
||||
SRCREV = "110d3be6a9c58674de3e366b96a70f0129a5d299"
|
||||
SRCREV = "68737d20556d37364c95776044b1119c0912a36a"
|
||||
|
||||
SRC_URI = "git://github.com/linux-test-project/ltp.git;branch=master;protocol=https \
|
||||
file://0001-Remove-OOM-tests-from-runtest-mm.patch \
|
||||
file://disable_hanging_tests.patch \
|
||||
file://0001-testcases-kernel-syscalls-fcntl-define-_LARGEFILE64_.patch \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
Reference in New Issue
Block a user