* [PATCH net] selftests: rds: move include.sh to TEST_FILES
@ 2024-09-27 4:13 Hangbin Liu
2024-10-03 0:40 ` patchwork-bot+netdevbpf
2024-11-22 15:01 ` Maximilian Heyne
0 siblings, 2 replies; 4+ messages in thread
From: Hangbin Liu @ 2024-09-27 4:13 UTC (permalink / raw)
To: netdev
Cc: Allison Henderson, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, Shuah Khan, Vegard Nossum, Chuck Lever, linux-rdma,
rds-devel, linux-kselftest, linux-kernel, Hangbin Liu
The include.sh file is generated for inclusion and should not be executable.
Otherwise, it will be added to kselftest-list.txt. Additionally, add the
executable bit for test.py at the same time to ensure proper functionality.
Fixes: 3ade6ce1255e ("selftests: rds: add testing infrastructure")
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
---
tools/testing/selftests/net/rds/Makefile | 3 ++-
tools/testing/selftests/net/rds/test.py | 0
2 files changed, 2 insertions(+), 1 deletion(-)
mode change 100644 => 100755 tools/testing/selftests/net/rds/test.py
diff --git a/tools/testing/selftests/net/rds/Makefile b/tools/testing/selftests/net/rds/Makefile
index da9714bc7aad..cf30307a829b 100644
--- a/tools/testing/selftests/net/rds/Makefile
+++ b/tools/testing/selftests/net/rds/Makefile
@@ -4,9 +4,10 @@ all:
@echo mk_build_dir="$(shell pwd)" > include.sh
TEST_PROGS := run.sh \
- include.sh \
test.py
+TEST_FILES := include.sh
+
EXTRA_CLEAN := /tmp/rds_logs
include ../../lib.mk
diff --git a/tools/testing/selftests/net/rds/test.py b/tools/testing/selftests/net/rds/test.py
old mode 100644
new mode 100755
--
2.39.3 (Apple Git-146)
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [PATCH net] selftests: rds: move include.sh to TEST_FILES
2024-09-27 4:13 [PATCH net] selftests: rds: move include.sh to TEST_FILES Hangbin Liu
@ 2024-10-03 0:40 ` patchwork-bot+netdevbpf
2024-11-22 15:01 ` Maximilian Heyne
1 sibling, 0 replies; 4+ messages in thread
From: patchwork-bot+netdevbpf @ 2024-10-03 0:40 UTC (permalink / raw)
To: Hangbin Liu
Cc: netdev, allison.henderson, davem, edumazet, kuba, pabeni, shuah,
vegard.nossum, chuck.lever, linux-rdma, rds-devel,
linux-kselftest, linux-kernel
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Fri, 27 Sep 2024 12:13:49 +0800 you wrote:
> The include.sh file is generated for inclusion and should not be executable.
> Otherwise, it will be added to kselftest-list.txt. Additionally, add the
> executable bit for test.py at the same time to ensure proper functionality.
>
> Fixes: 3ade6ce1255e ("selftests: rds: add testing infrastructure")
> Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
>
> [...]
Here is the summary with links:
- [net] selftests: rds: move include.sh to TEST_FILES
https://git.kernel.org/netdev/net/c/8ed7cf66f484
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH net] selftests: rds: move include.sh to TEST_FILES
2024-09-27 4:13 [PATCH net] selftests: rds: move include.sh to TEST_FILES Hangbin Liu
2024-10-03 0:40 ` patchwork-bot+netdevbpf
@ 2024-11-22 15:01 ` Maximilian Heyne
2024-11-23 1:54 ` Hangbin Liu
1 sibling, 1 reply; 4+ messages in thread
From: Maximilian Heyne @ 2024-11-22 15:01 UTC (permalink / raw)
To: Hangbin Liu
Cc: netdev, Allison Henderson, David S. Miller, Eric Dumazet,
Jakub Kicinski, Paolo Abeni, Shuah Khan, Vegard Nossum,
Chuck Lever, linux-rdma, rds-devel, linux-kselftest, linux-kernel
Hi Hangbin,
On Fri, Sep 27, 2024 at 12:13:49PM +0800, Hangbin Liu wrote:
> The include.sh file is generated for inclusion and should not be executable.
> Otherwise, it will be added to kselftest-list.txt. Additionally, add the
> executable bit for test.py at the same time to ensure proper functionality.
>
> Fixes: 3ade6ce1255e ("selftests: rds: add testing infrastructure")
> Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
> ---
> tools/testing/selftests/net/rds/Makefile | 3 ++-
> tools/testing/selftests/net/rds/test.py | 0
> 2 files changed, 2 insertions(+), 1 deletion(-)
> mode change 100644 => 100755 tools/testing/selftests/net/rds/test.py
>
> diff --git a/tools/testing/selftests/net/rds/Makefile b/tools/testing/selftests/net/rds/Makefile
> index da9714bc7aad..cf30307a829b 100644
> --- a/tools/testing/selftests/net/rds/Makefile
> +++ b/tools/testing/selftests/net/rds/Makefile
> @@ -4,9 +4,10 @@ all:
> @echo mk_build_dir="$(shell pwd)" > include.sh
>
> TEST_PROGS := run.sh \
> - include.sh \
> test.py
Should test.py also move down to TEST_FILES? I think run.sh is executing
test.py anyway but does a couple of sanity checks before, so I think
this it's not necessary to let the runner execute test.py standalone.
>
> +TEST_FILES := include.sh
> +
> EXTRA_CLEAN := /tmp/rds_logs
>
> include ../../lib.mk
> diff --git a/tools/testing/selftests/net/rds/test.py b/tools/testing/selftests/net/rds/test.py
> old mode 100644
> new mode 100755
> --
> 2.39.3 (Apple Git-146)
>
Thanks,
Max
Amazon Web Services Development Center Germany GmbH
Krausenstr. 38
10117 Berlin
Geschaeftsfuehrung: Christian Schlaeger, Jonathan Weiss
Eingetragen am Amtsgericht Charlottenburg unter HRB 257764 B
Sitz: Berlin
Ust-ID: DE 365 538 597
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH net] selftests: rds: move include.sh to TEST_FILES
2024-11-22 15:01 ` Maximilian Heyne
@ 2024-11-23 1:54 ` Hangbin Liu
0 siblings, 0 replies; 4+ messages in thread
From: Hangbin Liu @ 2024-11-23 1:54 UTC (permalink / raw)
To: Maximilian Heyne
Cc: netdev, Allison Henderson, David S. Miller, Eric Dumazet,
Jakub Kicinski, Paolo Abeni, Shuah Khan, Vegard Nossum,
Chuck Lever, linux-rdma, rds-devel, linux-kselftest, linux-kernel
On Fri, Nov 22, 2024 at 03:01:29PM +0000, Maximilian Heyne wrote:
> Hi Hangbin,
>
> On Fri, Sep 27, 2024 at 12:13:49PM +0800, Hangbin Liu wrote:
> > The include.sh file is generated for inclusion and should not be executable.
> > Otherwise, it will be added to kselftest-list.txt. Additionally, add the
> > executable bit for test.py at the same time to ensure proper functionality.
> >
> > Fixes: 3ade6ce1255e ("selftests: rds: add testing infrastructure")
> > Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
> > ---
> > tools/testing/selftests/net/rds/Makefile | 3 ++-
> > tools/testing/selftests/net/rds/test.py | 0
> > 2 files changed, 2 insertions(+), 1 deletion(-)
> > mode change 100644 => 100755 tools/testing/selftests/net/rds/test.py
> >
> > diff --git a/tools/testing/selftests/net/rds/Makefile b/tools/testing/selftests/net/rds/Makefile
> > index da9714bc7aad..cf30307a829b 100644
> > --- a/tools/testing/selftests/net/rds/Makefile
> > +++ b/tools/testing/selftests/net/rds/Makefile
> > @@ -4,9 +4,10 @@ all:
> > @echo mk_build_dir="$(shell pwd)" > include.sh
> >
> > TEST_PROGS := run.sh \
> > - include.sh \
> > test.py
>
> Should test.py also move down to TEST_FILES? I think run.sh is executing
> test.py anyway but does a couple of sanity checks before, so I think
> this it's not necessary to let the runner execute test.py standalone.
I was not aware of this. Thanks for the report. I will post a fix for this.
Thanks
Hangbin
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-11-23 1:54 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-27 4:13 [PATCH net] selftests: rds: move include.sh to TEST_FILES Hangbin Liu
2024-10-03 0:40 ` patchwork-bot+netdevbpf
2024-11-22 15:01 ` Maximilian Heyne
2024-11-23 1:54 ` Hangbin Liu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).