test: skip the hwdb update related tests w/ sanitizers and w/o accel
authorFrantisek Sumsal <frantisek@sumsal.cz>
Wed, 1 Mar 2023 10:06:42 +0000 (11:06 +0100)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Wed, 1 Mar 2023 16:53:55 +0000 (17:53 +0100)
commitea91b45e0ed7eea49724ec732900eac59d32823d
tree633a6f54aa814656e80666393ea19e4ae6da035d
parent8c7a6c742afef9284d5c06fc285cf66306cbce31
test: skip the hwdb update related tests w/ sanitizers and w/o accel

systemd-hwdb update is an expensive operation by itself, and when
running with sanitizers and in a VM without acceleration this cost is
exacerbated even further, making the test run for a very long time.

For example, in the daily CentOS CI ppc64le job with ASan+UBSan one
systemd-hwdb update takes more than 7 minutes; in the regular Arch job
with KVM it takes over 2 minutes.

Since the hwdb update is also tested in other places (like
TEST-01-BASIC and the test-hwdb meson test), let's skip it if we detect
we run with sanitizers and with plain QEMU.
test/units/testsuite-17.10.sh