summary refs log tree commit diff stats
path: root/include/qemu/plugin-event.h
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2023-03-17 17:05:53 +0000
committerAlex Bennée <alex.bennee@linaro.org>2023-03-22 15:08:26 +0000
commite35b9a2e81ccce86db6f1417b1d73bb97d7cbc17 (patch)
tree2080c8fe3fce6daa44469147001feb66fb8a18ba /include/qemu/plugin-event.h
parent6205a70b9251d63142d0e60ca03fd88959e87a85 (diff)
downloadfocaccia-qemu-e35b9a2e81ccce86db6f1417b1d73bb97d7cbc17.tar.gz
focaccia-qemu-e35b9a2e81ccce86db6f1417b1d73bb97d7cbc17.zip
qtests: avoid printing comments before g_test_init()
The TAP protocol version line must be the first thing printed on
stdout. The migration test failed that requirement in certain
scenarios:

  # Skipping test: Userfault not available (builtdtime)
  TAP version 13
  # random seed: R02Sc120c807f11053eb90bfea845ba1e368
  1..32
  # Start of x86_64 tests
  # Start of migration tests
  ....

The TAP version is printed by g_test_init(), so we need to make
sure that any methods which print are run after that.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20230317170553.592707-1-berrange@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'include/qemu/plugin-event.h')
0 files changed, 0 insertions, 0 deletions