selftests: rds: move test.py to TEST_FILES
Subsystems (5)
PATCH 1/1 selftests: rds: move test.py to TEST_FILES
The test.py should not be run separately. It should be run via run.sh, which will do some sanity checks first. Move the test.py from TEST_PROGS to TEST_FILES.
--- tools/testing/selftests/net/rds/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
tools/testing/selftests/net/rds/Makefile +2 -3
@@ -3,10 +3,9 @@ all: @echo mk_build_dir="$(shell pwd)" > include.sh -TEST_PROGS := run.sh \ - test.py +TEST_PROGS := run.sh -TEST_FILES := include.sh +TEST_FILES := include.sh test.py EXTRA_CLEAN := /tmp/rds_logs include.sh
Signature · 1 line
2.46.0
Quoted 3 lines · Hangbin Liu
The
test.pyshould not be run separately. It should be run viarun.sh, which will do some sanity checks first. Move thetest.pyfromTEST_PROGStoTEST_FILES.
This looks fine to me. Thanks for the catch!
Quoted 26 lines
Reported-by Maximilian Heyne <[email protected]>Closes https://lore.kernel.org/netdev/20241122150129.GB18887@dev-dsk-mheyne-1b-55676e6a.eu-west-1.amazon.com open hereFixes 3ade6ce1255e ("selftests: rds: add testing infrastructure")Signed-off-by Hangbin Liu <[email protected]>--- tools/testing/selftests/net/rds/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)tools/testing/selftests/net/rds/Makefile +2
-3@@ -3,10 +3,9 @@ all: @echo mk_build_dir="$(shell pwd)" > include.sh -TEST_PROGS := run.sh \ - test.py +TEST_PROGS := run.sh -TEST_FILES := include.sh +TEST_FILES := include.sh test.py EXTRA_CLEAN := /tmp/rds_logs include.sh
This patch was applied to netdev/net.git (main) by Paolo Abeni <[email protected]>:
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <[email protected]>:
Quoted 10 lines · On Sun, 24 Nov 2024 07:32:43 +0000 you wrote:
The
test.pyshould not be run separately. It should be run viarun.sh, which will do some sanity checks first. Move thetest.pyfromTEST_PROGStoTEST_FILES.Reported-by Maximilian Heyne <[email protected]>Closes https://lore.kernel.org/netdev/20241122150129.GB18887@dev-dsk-mheyne-1b-55676e6a.eu-west-1.amazon.com open hereFixes 3ade6ce1255e ("selftests: rds: add testing infrastructure")Signed-off-by Hangbin Liu <[email protected]>[...]
Here is the summary with links:
- [net] selftests: rds: move test.py to TEST_FILES
https://git.kernel.org/netdev/net/c/663a91747553
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html