tests: Fix broken "make check-speed"
PATCH 1/1 tests: Fix broken "make check-speed"
When running "make check-speed", currently nothing happens. This is because the redirection to "bench-speed" is not working as expected (since the bench-speed rule in the generated Makefile.mtest filters for "bench-speed" and "bench" in the MAKECMDGOALS variable). Fix it by calling "make bench-speed" instead of using a dependency.
--- tests/Makefile.include | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
tests/Makefile.include +3 -2
@@ -134,7 +134,7 @@ check-acceptance: check-venv $(TESTS_RESULTS_DIR) get-vm-images # Consolidated targets -.PHONY: check-block check check-clean get-vm-images +.PHONY: check-block check check-clean get-vm-images check-speed check: ifeq ($(CONFIG_TOOLS)$(CONFIG_POSIX),yy)
@@ -156,6 +156,7 @@ clean: check-clean # For backwards compatibility -check-speed: bench-speed +check-speed: + $(MAKE) bench-speed endif
Signature · 1 line
2.27.0
Quoted 7 lines · Thomas Huth
When running "make check-speed", currently nothing happens. This is because the redirection to "bench-speed" is not working as expected (since the bench-speed rule in the generated Makefile.mtest filters for "bench-speed" and "bench" in the MAKECMDGOALS variable). Fix it by calling "make bench-speed" instead of using a dependency.
Quoted 5 lines
Signed-off-by Thomas Huth <[email protected]>--- tests/Makefile.include | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
Quoted 8 lines · Willian Rampazzo
Quoted 7 lines · Thomas Huth
When running "make check-speed", currently nothing happens. This is because the redirection to "bench-speed" is not working as expected (since the bench-speed rule in the generated Makefile.mtest filters for "bench-speed" and "bench" in the MAKECMDGOALS variable). Fix it by calling "make bench-speed" instead of using a dependency.
Quoted 9 lines
Quoted 5 lines
Signed-off-by Thomas Huth <[email protected]>--- tests/Makefile.include | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)Reviewed-by Willian Rampazzo <[email protected]>Tested-by Willian Rampazzo <[email protected]>
I don't object to the patch, but if no one has noticed in 6 months perhaps the target can go (replaced by "make bench"/"make bench-speed").
Paolo
Quoted 16 lines · Paolo Bonzini
Quoted 14 lines · Willian Rampazzo
Quoted 12 lines · Thomas Huth
When running "make check-speed", currently nothing happens. This is because the redirection to "bench-speed" is not working as expected (since the bench-speed rule in the generated Makefile.mtest filters for "bench-speed" and "bench" in the MAKECMDGOALS variable). Fix it by calling "make bench-speed" instead of using a dependency.
Signed-off-by Thomas Huth <[email protected]>--- tests/Makefile.include | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
Quoted 7 lines
Quoted 3 lines
Reviewed-by Willian Rampazzo <[email protected]>Tested-by Willian Rampazzo <[email protected]>I don't object to the patch, but if no one has noticed in 6 months perhaps the target can go (replaced by "make bench"/"make bench-speed").
I was also thinking about it. If the target was not working and no one complained, maybe remove it is just fine, so, +1 here for removing/renaming.
Quoted 2 lines
Paolo
Quoted 21 lines · Willian Rampazzo
Quoted 20 lines · Paolo Bonzini
Quoted 17 lines · Willian Rampazzo
Quoted 7 lines · Thomas Huth
When running "make check-speed", currently nothing happens. This is because the redirection to "bench-speed" is not working as expected (since the bench-speed rule in the generated Makefile.mtest filters for "bench-speed" and "bench" in the MAKECMDGOALS variable). Fix it by calling "make bench-speed" instead of using a dependency.
Quoted 5 lines
Signed-off-by Thomas Huth <[email protected]>--- tests/Makefile.include | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)Reviewed-by Willian Rampazzo <[email protected]>Tested-by Willian Rampazzo <[email protected]>
Quoted 7 lines
Quoted 3 lines
I don't object to the patch, but if no one has noticed in 6 months perhaps the target can go (replaced by "make bench"/"make bench-speed").
I was also thinking about it. If the target was not working and no one complained, maybe remove it is just fine, so, +1 here for removing/renaming.
Fine for me, too, but we then also have to update the output of "make check-help" accordingly. Care to send a patch?
Thomas