]> git.baikalelectronics.ru Git - 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)
commitb37d59b823eadc860c6f427794994cf55b035148
treedc1b3618f4918fd27f19c634e40f7cb0693af5cd
parentb00d6cda35c163a7fabdec868471e56f2533bcf0
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 ab490989a53a ("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