diff options
author | Peter Xu <peterx@redhat.com> | 2020-10-21 17:27:21 -0400 |
---|---|---|
committer | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2020-10-26 16:15:04 +0000 |
commit | a47295014de56e108f359ec859d5499b851f62b8 (patch) | |
tree | 747063a0318eee9983167e912f15332f9c0a448a /tests/acceptance/boot_linux.py | |
parent | d246ea5039fd6d5344becd0943fcbb7f8e6bbfe7 (diff) |
migration-test: Only hide error if !QTEST_LOG
The errors are very useful when debugging qtest failures, especially when
QTEST_LOG=1 is set. Let's allow override MigrateStart.hide_stderr when
QTEST_LOG=1 is specified, because that means the user wants to be verbose.
Not very nice to introduce the first QTEST_LOG env access in migration-test.c,
however it should be handy. Without this patch, I was hacking error_report()
when debugging such errors. Let's make things easier.
Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <20201021212721.440373-7-peterx@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'tests/acceptance/boot_linux.py')
0 files changed, 0 insertions, 0 deletions