From b7461b851a44a1d051162459310bf6330ec9d6cc Mon Sep 17 00:00:00 2001 From: Lucas Meneghel Rodrigues Date: Sun, 24 Aug 2014 11:34:01 -0300 Subject: [PATCH] avocado.plugins.vm: Pass '-' to json plugin So that the avocado command does produce its intended output. Fixes a small bug introduced with the simplification of the json and xunit plugins. Signed-off-by: Lucas Meneghel Rodrigues --- avocado/plugins/vm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/avocado/plugins/vm.py b/avocado/plugins/vm.py index e123b6fd..353a526b 100644 --- a/avocado/plugins/vm.py +++ b/avocado/plugins/vm.py @@ -68,7 +68,7 @@ class VMTestRunner(TestRunner): :param urls: a string with test URLs. :return: a dictionary with test results. """ - avocado_cmd = 'avocado --json run --archive "%s"' % urls + avocado_cmd = 'avocado --json - run --archive "%s"' % urls stdout = self.result.vm.remote.run(avocado_cmd) try: results = json.loads(stdout) -- GitLab