All of lore.kernel.org
 help / color / mirror / Atom feed
* [GIT PULL] Kselftest update for Linux 5.6-rc4
@ 2020-02-25 23:26 Shuah Khan
  2020-02-26 18:14 ` Linus Torvalds
  2020-02-26 18:50 ` pr-tracker-bot
  0 siblings, 2 replies; 4+ messages in thread
From: Shuah Khan @ 2020-02-25 23:26 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Shuah Khan, Michael Ellerman,
	open list:KERNEL SELFTEST FRAMEWORK, Linux Kernel Mailing List

[-- Attachment #1: Type: text/plain, Size: 1850 bytes --]

Hi Linus,

Please pull the following Kselftest fixes update for Linux 5.6-rc4.

This Kselftest update for Linux 5.6-rc4 consists of:

- fixes to TIMEOUT failures and out-of-tree compilation compilation
    errors from Michael Ellerman.
- Declutter git status fix from Christophe Leroy

diff is attached.

thanks,
-- Shuah

----------------------------------------------------------------
The following changes since commit 9a0584f05687947d5a0b87f046bcd2592a55e67c:

   selftests: openat2: fix build error on newer glibc (2020-02-13 
13:15:45 -0700)

are available in the Git repository at:

   git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest 
tags/linux-kselftest-5.6-rc4

for you to fetch changes up to ef89d0545132d685f73da6f58b7e7fe002536f91:

   selftests/rseq: Fix out-of-tree compilation (2020-02-20 08:57:12 -0700)

----------------------------------------------------------------
linux-kselftest-5.6-rc4

This Kselftest update for Linux 5.6-rc4 consists of:

-  fixes to TIMEOUT failures and out-of-tree compilation compilation
    errors from Michael Ellerman.
- Declutter git status fix from Christophe Leroy

----------------------------------------------------------------
Christophe Leroy (1):
       selftest/lkdtm: Don't pollute 'git status'

Michael Ellerman (2):
       selftests: Install settings files to fix TIMEOUT failures
       selftests/rseq: Fix out-of-tree compilation

  .gitignore                                 | 4 ++++
  tools/testing/selftests/ftrace/Makefile    | 2 +-
  tools/testing/selftests/livepatch/Makefile | 2 ++
  tools/testing/selftests/net/mptcp/Makefile | 2 ++
  tools/testing/selftests/rseq/Makefile      | 4 +++-
  tools/testing/selftests/rtc/Makefile       | 2 ++
  6 files changed, 14 insertions(+), 2 deletions(-)
----------------------------------------------------------------

[-- Attachment #2: linux-kselftest-5.6-rc4.diff --]
[-- Type: text/x-patch, Size: 2534 bytes --]

diff --git a/.gitignore b/.gitignore
index 72ef86a5570d..2763fce8766c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -100,6 +100,10 @@ modules.order
 /include/ksym/
 /arch/*/include/generated/
 
+# Generated lkdtm tests
+/tools/testing/selftests/lkdtm/*.sh
+!/tools/testing/selftests/lkdtm/run.sh
+
 # stgit generated dirs
 patches-*
 
diff --git a/tools/testing/selftests/ftrace/Makefile b/tools/testing/selftests/ftrace/Makefile
index cd1f5b3a7774..d6e106fbce11 100644
--- a/tools/testing/selftests/ftrace/Makefile
+++ b/tools/testing/selftests/ftrace/Makefile
@@ -2,7 +2,7 @@
 all:
 
 TEST_PROGS := ftracetest
-TEST_FILES := test.d
+TEST_FILES := test.d settings
 EXTRA_CLEAN := $(OUTPUT)/logs/*
 
 include ../lib.mk
diff --git a/tools/testing/selftests/livepatch/Makefile b/tools/testing/selftests/livepatch/Makefile
index 3876d8d62494..1acc9e1fa3fb 100644
--- a/tools/testing/selftests/livepatch/Makefile
+++ b/tools/testing/selftests/livepatch/Makefile
@@ -8,4 +8,6 @@ TEST_PROGS := \
 	test-state.sh \
 	test-ftrace.sh
 
+TEST_FILES := settings
+
 include ../lib.mk
diff --git a/tools/testing/selftests/net/mptcp/Makefile b/tools/testing/selftests/net/mptcp/Makefile
index 93de52016dde..ba450e62dc5b 100644
--- a/tools/testing/selftests/net/mptcp/Makefile
+++ b/tools/testing/selftests/net/mptcp/Makefile
@@ -8,6 +8,8 @@ TEST_PROGS := mptcp_connect.sh
 
 TEST_GEN_FILES = mptcp_connect
 
+TEST_FILES := settings
+
 EXTRA_CLEAN := *.pcap
 
 include ../../lib.mk
diff --git a/tools/testing/selftests/rseq/Makefile b/tools/testing/selftests/rseq/Makefile
index d6469535630a..2af9d39a9716 100644
--- a/tools/testing/selftests/rseq/Makefile
+++ b/tools/testing/selftests/rseq/Makefile
@@ -4,7 +4,7 @@ ifneq ($(shell $(CC) --version 2>&1 | head -n 1 | grep clang),)
 CLANG_FLAGS += -no-integrated-as
 endif
 
-CFLAGS += -O2 -Wall -g -I./ -I../../../../usr/include/ -L./ -Wl,-rpath=./ \
+CFLAGS += -O2 -Wall -g -I./ -I../../../../usr/include/ -L$(OUTPUT) -Wl,-rpath=./ \
 	  $(CLANG_FLAGS)
 LDLIBS += -lpthread
 
@@ -19,6 +19,8 @@ TEST_GEN_PROGS_EXTENDED = librseq.so
 
 TEST_PROGS = run_param_test.sh
 
+TEST_FILES := settings
+
 include ../lib.mk
 
 $(OUTPUT)/librseq.so: rseq.c rseq.h rseq-*.h
diff --git a/tools/testing/selftests/rtc/Makefile b/tools/testing/selftests/rtc/Makefile
index 2d93d65723c9..55198ecc04db 100644
--- a/tools/testing/selftests/rtc/Makefile
+++ b/tools/testing/selftests/rtc/Makefile
@@ -6,4 +6,6 @@ TEST_GEN_PROGS = rtctest
 
 TEST_GEN_PROGS_EXTENDED = setdate
 
+TEST_FILES := settings
+
 include ../lib.mk

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [GIT PULL] Kselftest update for Linux 5.6-rc4
  2020-02-25 23:26 [GIT PULL] Kselftest update for Linux 5.6-rc4 Shuah Khan
@ 2020-02-26 18:14 ` Linus Torvalds
  2020-02-26 18:43   ` Shuah Khan
  2020-02-26 18:50 ` pr-tracker-bot
  1 sibling, 1 reply; 4+ messages in thread
From: Linus Torvalds @ 2020-02-26 18:14 UTC (permalink / raw)
  To: Shuah Khan, Christophe Leroy
  Cc: Michael Ellerman, open list:KERNEL SELFTEST FRAMEWORK,
	Linux Kernel Mailing List

On Tue, Feb 25, 2020 at 3:26 PM Shuah Khan <skhan@linuxfoundation.org> wrote:
>
> - Declutter git status fix from Christophe Leroy

I've pulled this, but just for future reference (and hoping for a
future cleanup patch): instead of putting things in the global
.gitignore file, do it in the relevant local one.

So you could just have added

  *.sh
  !run.sh

in 'tools/testing/selftests/lkdtm/.gitignore' instead of doing

  # Generated lkdtm tests
  /tools/testing/selftests/lkdtm/*.sh
  !/tools/testing/selftests/lkdtm/run.sh

in the top-level one.

That keeps things much better separated. It also incidentally means
that if a directory gets renamed, the gitignore file just "magically"
continues to work (if you rename the actual files themselves that are
named in gitignore, then that's obviously a different thing).

If you put it in the leaf directory, it also means that you don't need
the '/' at the beginning, because the local gitignore entries will
only affect that subdirectory (and any subdirectories under it).

So please put only "global" gitignore patterns in the top-level gitignore file.

              Linus

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [GIT PULL] Kselftest update for Linux 5.6-rc4
  2020-02-26 18:14 ` Linus Torvalds
@ 2020-02-26 18:43   ` Shuah Khan
  0 siblings, 0 replies; 4+ messages in thread
From: Shuah Khan @ 2020-02-26 18:43 UTC (permalink / raw)
  To: Linus Torvalds, Christophe Leroy
  Cc: Michael Ellerman, open list:KERNEL SELFTEST FRAMEWORK,
	Linux Kernel Mailing List, skh >> Shuah Khan

On 2/26/20 11:14 AM, Linus Torvalds wrote:
> On Tue, Feb 25, 2020 at 3:26 PM Shuah Khan <skhan@linuxfoundation.org> wrote:
>>
>> - Declutter git status fix from Christophe Leroy
> 
> I've pulled this, but just for future reference (and hoping for a
> future cleanup patch): instead of putting things in the global
> .gitignore file, do it in the relevant local one.
> 
> So you could just have added
> 
>    *.sh
>    !run.sh
> 
> in 'tools/testing/selftests/lkdtm/.gitignore' instead of doing
> 
>    # Generated lkdtm tests
>    /tools/testing/selftests/lkdtm/*.sh
>    !/tools/testing/selftests/lkdtm/run.sh
> 
> in the top-level one.
> 
> That keeps things much better separated. It also incidentally means
> that if a directory gets renamed, the gitignore file just "magically"
> continues to work (if you rename the actual files themselves that are
> named in gitignore, then that's obviously a different thing).
> 
> If you put it in the leaf directory, it also means that you don't need
> the '/' at the beginning, because the local gitignore entries will
> only affect that subdirectory (and any subdirectories under it).
> 
> So please put only "global" gitignore patterns in the top-level gitignore file.
> 
>                Linus
> 

Thanks. I will keep this mind as I review these kinds of patches.

-- Shuah


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [GIT PULL] Kselftest update for Linux 5.6-rc4
  2020-02-25 23:26 [GIT PULL] Kselftest update for Linux 5.6-rc4 Shuah Khan
  2020-02-26 18:14 ` Linus Torvalds
@ 2020-02-26 18:50 ` pr-tracker-bot
  1 sibling, 0 replies; 4+ messages in thread
From: pr-tracker-bot @ 2020-02-26 18:50 UTC (permalink / raw)
  To: Shuah Khan
  Cc: Linus Torvalds, Shuah Khan, Michael Ellerman,
	open list:KERNEL SELFTEST FRAMEWORK, Linux Kernel Mailing List

The pull request you sent on Tue, 25 Feb 2020 16:26:42 -0700:

> git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest tags/linux-kselftest-5.6-rc4

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/2fcc74178f6dc06ecffcd1f601ca3a3e87b3012c

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-02-26 18:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-25 23:26 [GIT PULL] Kselftest update for Linux 5.6-rc4 Shuah Khan
2020-02-26 18:14 ` Linus Torvalds
2020-02-26 18:43   ` Shuah Khan
2020-02-26 18:50 ` pr-tracker-bot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.