Skip to contentSkip to conversation

Kselftest fixes update for Linux 6.4-rc3

GIT PULL Merged Shuah Khan 2 participants 2 messages May 17, 2023

Subsystems (3)
lore
Share & tools
lore

Shuah Khan

author maintainer
#0 lore raw

Hi Linus,

Please pull the following Kselftest fixes update for Linux 6.4-rc3.

This Kselftest fixes update for Linux 6.4-rc3 consists of:

- sgx test fix for false negatives.
- ftrace output is hard to parse and it masks inappropriate skips etc. This fix addresses the problems by integrating with kselftest runner.

diff is attached.

thanks,
-- Shuah

----------------------------------------------------------------
The following changes since commit ac9a78681b921877518763ba0e89202254349d1b:

Linux 6.4-rc1 (2023-05-07 13:34:35 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest tags/linux-kselftest-fixes-6.4-rc3

for you to fetch changes up to dbcf76390eb9a65d5d0c37b0cd57335218564e37:

selftests/ftrace: Improve integration with kselftest runner (2023-05-08 11:10:13 -0600)

----------------------------------------------------------------
linux-kselftest-fixes-6.4-rc3

This Kselftest fixes update for Linux 6.4-rc3 consists of:

- sgx test fix for false negatives.
- ftrace output is hard to parse and it masks inappropriate skips etc. This fix addresses the problems by integrating with kselftest runner.

----------------------------------------------------------------
Mark Brown (1):
selftests/ftrace: Improve integration with kselftest runner

Yi Lai (1):
selftests/sgx: Add "test_encl.elf" to TEST_FILES

 tools/testing/selftests/ftrace/Makefile        |  3 +-
 tools/testing/selftests/ftrace/ftracetest      | 63 ++++++++++++++++++++++++--
 tools/testing/selftests/ftrace/ftracetest-ktap |  8 ++++
 tools/testing/selftests/sgx/Makefile           |  1 +
 4 files changed, 71 insertions(+), 4 deletions(-)
 create mode 100755 tools/testing/selftests/ftrace/ftracetest-ktap

----------------------------------------------------------------

tools/testing/selftests/ftrace/Makefile +2 -1
index d6e106fbce11..a1e955d2de4c 100644
@@ -1,7 +1,8 @@
 # SPDX-License-Identifier: GPL-2.0
 all:
 
-TEST_PROGS := ftracetest
+TEST_PROGS_EXTENDED := ftracetest
+TEST_PROGS := ftracetest-ktap
 TEST_FILES := test.d settings
 EXTRA_CLEAN := $(OUTPUT)/logs/*
 
tools/testing/selftests/ftrace/ftracetest +60 -3

154 lines not on this page · raw message

tools/testing/selftests/ftrace/ftracetest-ktap new file +8 -0
new file mode 100755
index 000000000000..b3284679ef3a
@@ -0,0 +1,8 @@
+#!/bin/sh -e
+# SPDX-License-Identifier: GPL-2.0-only
+#
+# ftracetest-ktap: Wrapper to integrate ftracetest with the kselftest runner
+#
+# Copyright (C) Arm Ltd., 2023
+
+./ftracetest -K
tools/testing/selftests/sgx/Makefile +1 -0
index 75af864e07b6..50aab6b57da3 100644
@@ -17,6 +17,7 @@ ENCL_CFLAGS := -Wall -Werror -static -nostdlib -nostartfiles -fPIC \
 	       -fno-stack-protector -mrdrnd $(INCLUDES)
 
 TEST_CUSTOM_PROGS := $(OUTPUT)/test_sgx
+TEST_FILES := $(OUTPUT)/test_encl.elf
 
 ifeq ($(CAN_BUILD_X86_64), 1)
 all: $(TEST_CUSTOM_PROGS) $(OUTPUT)/test_encl.elf
merge bot Merged
#1 lore raw
The pull request you sent on Wed, 17 May 2023 11:51:13 -0600:

The pull request you sent on Wed, 17 May 2023 11:51:13 -0600:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest tags/linux-kselftest-fixes-6.4-rc3

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/4d6d4c7f541d7027beed4fb86eb2c451bd8d6fff

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html