]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
selftests: do not use .ONESHELL
authorYauheni Kaliuta <yauheni.kaliuta@redhat.com>
Wed, 27 May 2020 07:16:57 +0000 (10:16 +0300)
committerShuah Khan <skhan@linuxfoundation.org>
Tue, 7 Jul 2020 20:11:21 +0000 (14:11 -0600)
commit99aacebecb75c61e6a6a1bc29f5d87c9453f3b73
treedc1b3618f4918fd27f19c634e40f7cb0693af5cd
parent05790fd7f8d3a77c26f1acd16b6d0f8f7d61d98a
selftests: do not use .ONESHELL

Using one shell for the whole recipe with long lists can cause

make[1]: execvp: /bin/sh: Argument list too long

with some shells. Triggered by commit 309b81f0fdc4 ("selftests/bpf:
Install generated test progs")

It requires to change the rule which rely on the one shell
behaviour (run_tests).

Simplify also INSTALL_SINGLE_RULE, remove extra echo, required to
workaround .ONESHELL.

Signed-off-by: Yauheni Kaliuta <yauheni.kaliuta@redhat.com>
Cc: Jiri Benc <jbenc@redhat.com>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/lib.mk