All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daan De Meyer <daan.j.demeyer@gmail.com>
To: bpf@vger.kernel.org
Cc: Daan De Meyer <daan.j.demeyer@gmail.com>
Subject: [PATCH bpf-next 1/3] selftests/bpf: Install all required files to run selftests
Date: Mon,  5 Dec 2022 14:16:16 +0100	[thread overview]
Message-ID: <20221205131618.1524337-2-daan.j.demeyer@gmail.com> (raw)
In-Reply-To: <20221205131618.1524337-1-daan.j.demeyer@gmail.com>

When installing the selftests using
"make -C tools/testing/selftests install", we need to make sure
all the required files to run the selftests are installed. Let's
make sure this is the case.

Signed-off-by: Daan De Meyer <daan.j.demeyer@gmail.com>
---
 tools/testing/selftests/bpf/Makefile | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/tools/testing/selftests/bpf/Makefile b/tools/testing/selftests/bpf/Makefile
index 6a0f043dc410..f6b8ffdde16f 100644
--- a/tools/testing/selftests/bpf/Makefile
+++ b/tools/testing/selftests/bpf/Makefile
@@ -532,8 +532,10 @@ TRUNNER_EXTRA_FILES := $(OUTPUT)/urandom_read $(OUTPUT)/bpf_testmod.ko	\
 		       $(OUTPUT)/liburandom_read.so			\
 		       $(OUTPUT)/xdp_synproxy				\
 		       $(OUTPUT)/sign-file				\
-		       ima_setup.sh verify_sig_setup.sh			\
-		       $(wildcard progs/btf_dump_test_case_*.c)
+		       $(realpath ima_setup.sh) 			\
+		       $(realpath verify_sig_setup.sh)			\
+		       $(wildcard progs/btf_dump_test_case_*.c)		\
+		       $(wildcard progs/*.bpf.o)
 TRUNNER_BPF_BUILD_RULE := CLANG_BPF_BUILD_RULE
 TRUNNER_BPF_CFLAGS := $(BPF_CFLAGS) $(CLANG_CFLAGS) -DENABLE_ATOMICS_TESTS
 $(eval $(call DEFINE_TEST_RUNNER,test_progs))
-- 
2.38.1


  reply	other threads:[~2022-12-05 13:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-05 13:16 [PATCH bpf-next 0/3] BPF selftests fixes Daan De Meyer
2022-12-05 13:16 ` Daan De Meyer [this message]
2022-12-07  0:29   ` [PATCH bpf-next 1/3] selftests/bpf: Install all required files to run selftests Andrii Nakryiko
2022-12-07  0:34     ` Andrii Nakryiko
2022-12-05 13:16 ` [PATCH bpf-next 2/3] selftests/bpf: Use "is not set" instead of "=n" Daan De Meyer
2022-12-05 13:16 ` [PATCH bpf-next 3/3] selftests/bpf: Use CONFIG_TEST_BPF=m instead of CONFIG_TEST_BPF=y Daan De Meyer
2022-12-07  0:40 ` [PATCH bpf-next 0/3] BPF selftests fixes patchwork-bot+netdevbpf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221205131618.1524337-2-daan.j.demeyer@gmail.com \
    --to=daan.j.demeyer@gmail.com \
    --cc=bpf@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.