[PATCH v7 06/12] tests/vm: Pass --debug through for vm-boot-ssh.

Robert Foley posted 12 patches 5 years, 5 months ago
Maintainers: "Alex Bennée" <alex.bennee@linaro.org>, Cleber Rosa <crosa@redhat.com>, "Philippe Mathieu-Daudé" <philmd@redhat.com>, Eduardo Habkost <ehabkost@redhat.com>, Fam Zheng <fam@euphon.net>
There is a newer version of this series
[PATCH v7 06/12] tests/vm: Pass --debug through for vm-boot-ssh.
Posted by Robert Foley 5 years, 5 months ago
This helps debug issues that occur during the boot sequence.

Signed-off-by: Robert Foley <robert.foley@linaro.org>
Reviewed-by: Peter Puhov <peter.puhov@linaro.org>
---
 tests/vm/Makefile.include | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/vm/Makefile.include b/tests/vm/Makefile.include
index d9b34eae63..e22c391a2a 100644
--- a/tests/vm/Makefile.include
+++ b/tests/vm/Makefile.include
@@ -97,6 +97,7 @@ vm-boot-ssh-%: $(IMAGES_DIR)/%.img
 	$(call quiet-command, \
 		$(PYTHON) $(SRC_PATH)/tests/vm/$* \
 		$(if $(J),--jobs $(J)) \
+		$(if $(V)$(DEBUG), --debug) \
 		--image "$<" \
 		--interactive \
 		false, \
-- 
2.17.1


Re: [PATCH v7 06/12] tests/vm: Pass --debug through for vm-boot-ssh.
Posted by Alex Bennée 5 years, 5 months ago
Robert Foley <robert.foley@linaro.org> writes:

> This helps debug issues that occur during the boot sequence.
>
> Signed-off-by: Robert Foley <robert.foley@linaro.org>
> Reviewed-by: Peter Puhov <peter.puhov@linaro.org>

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>

> ---
>  tests/vm/Makefile.include | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/tests/vm/Makefile.include b/tests/vm/Makefile.include
> index d9b34eae63..e22c391a2a 100644
> --- a/tests/vm/Makefile.include
> +++ b/tests/vm/Makefile.include
> @@ -97,6 +97,7 @@ vm-boot-ssh-%: $(IMAGES_DIR)/%.img
>  	$(call quiet-command, \
>  		$(PYTHON) $(SRC_PATH)/tests/vm/$* \
>  		$(if $(J),--jobs $(J)) \
> +		$(if $(V)$(DEBUG), --debug) \
>  		--image "$<" \
>  		--interactive \
>  		false, \


-- 
Alex Bennée