tests: run-time skip test-qga if TSAN is enabled

This allows to make sure the test is still built, and gives more
accurate report details.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20220420132624.2439741-30-marcandre.lureau@redhat.com>
This commit is contained in:
Marc-André Lureau 2022-04-20 17:26:12 +04:00
parent c213ef9a66
commit a7bd942c90
2 changed files with 8 additions and 1 deletions

View file

@ -153,7 +153,7 @@ if have_system
endif
endif
if have_ga and targetos == 'linux' and 'CONFIG_TSAN' not in config_host
if have_ga and targetos == 'linux'
tests += {'test-qga': ['../qtest/libqtest.c']}
test_deps += {'test-qga': qga}
endif