validate: baseclasses: include env variable in logged command
authorGuillaume Desmottes <guillaume.desmottes@collabora.com>
Fri, 8 Feb 2019 10:46:58 +0000 (11:46 +0100)
committerThibault Saunier <tsaunier@gnome.org>
Mon, 11 Feb 2019 15:17:33 +0000 (15:17 +0000)
We were missing the env variables in the command written to the log
file, making it impossible to re-run the test later from the logs.

validate/launcher/baseclasses.py

index 7e351f3..5a3a9a3 100644 (file)
@@ -526,7 +526,7 @@ class Test(Loggable):
                            "Test name: %s\n"
                            "Command: '%s'\n"
                            "=================\n\n"
-                           % (self.classname, ' '.join(self.command)))
+                           % (self.classname, self.get_command_repr()))
             self.out.flush()
         else:
             message = "Launching: %s%s\n" \