[1/2] automation: add timestamps to Xen tests
diff mbox series

Message ID 20191203103352.29728-2-roger.pau@citrix.com
State New
Headers show
Series
  • automation: improve tests
Related show

Commit Message

Roger Pau Monné Dec. 3, 2019, 10:33 a.m. UTC
Enable Xen timestamps in the automated Xen tests, this is helpful in
order to figure out if Xen is stuck or just slow in the automated
tests.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
---
 automation/scripts/qemu-smoke-x86-64.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Wei Liu Dec. 3, 2019, 11:24 a.m. UTC | #1
On Tue, 3 Dec 2019 at 10:35, Roger Pau Monne <roger.pau@citrix.com> wrote:
>
> Enable Xen timestamps in the automated Xen tests, this is helpful in
> order to figure out if Xen is stuck or just slow in the automated
> tests.
>
> Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>

Acked-by: Wei Liu <wl@xen.org>

Patch
diff mbox series

diff --git a/automation/scripts/qemu-smoke-x86-64.sh b/automation/scripts/qemu-smoke-x86-64.sh
index 5fa3a63dbd..f38eacfd9f 100755
--- a/automation/scripts/qemu-smoke-x86-64.sh
+++ b/automation/scripts/qemu-smoke-x86-64.sh
@@ -24,7 +24,8 @@  set +e
 timeout -k 1 10 \
 qemu-system-x86_64 -nographic -kernel binaries/xen \
         -initrd xtf/tests/example/$k \
-        -append "loglvl=all com1=115200,,8n1 console=com1 noreboot $extra" \
+        -append "loglvl=all com1=115200,,8n1 console=com1 noreboot \
+                 console_timestamps=boot $extra" \
         -m 512 -monitor none -serial file:smoke.serial
 set -e
 grep -q 'Test result: SUCCESS' smoke.serial || exit 1