summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Hansen <rhansen@rhansen.org>2023-04-20 00:11:00 -0400
committerRobert Ancell <robert.ancell@gmail.com>2023-04-26 09:33:47 +1200
commitc8b19ffc2c50deb7271711eb5db4ae42dcdb573d (patch)
tree6fbd6a989df75452695ad92beb3aa9e709b97a2c
parent50475ff0b926b5d53b99c8c2806c33dd7931b216 (diff)
downloadlightdm-git-c8b19ffc2c50deb7271711eb5db4ae42dcdb573d.tar.gz
tests: Include script commands in the debug log
-rw-r--r--tests/src/test-runner.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/src/test-runner.c b/tests/src/test-runner.c
index 46633b61..f13e8fd7 100644
--- a/tests/src/test-runner.c
+++ b/tests/src/test-runner.c
@@ -990,6 +990,9 @@ run_commands (void)
statuses = g_list_append (statuses, g_strdup (line->text));
line->done = TRUE;
+ if (getenv ("DEBUG"))
+ g_print ("%s\n", line->text);
+
handle_command (line->text + 1);
}
}