hwdb-test: pass an explit path to systemd-hwdb
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 15 Apr 2021 06:20:31 +0000 (08:20 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 28 Apr 2021 09:32:58 +0000 (11:32 +0200)
commitecd1bfdd3cea0a11c4ba1a6a7dbc86d868349877
treee40fa1c349a1d66bba1f9c8ec5042287774a8a62
parentfe12f036fe7f10044bd9adc9a5817f796fa07f17
hwdb-test: pass an explit path to systemd-hwdb

https://github.com/systemd/systemd/pull/19316 failed with:
[1065/1670] Linking target systemd-hwdb
--- command ---
14:28:29 /root/src/test/hwdb-test.sh
--- stdout ---
./systemd-hwdb does not exist, please build first

I'm not sure what is going on here… In principle meson says that tests may be
called from any directory, but in practice is was always the build directory.
So far we were relying on systemd-hwdb being present in '.', and this worked.
Either way, it's nicer to pass the exact path, so let's do that.
meson.build
test/hwdb-test.sh
test/meson.build