selftests: hid: make vmtest rely on make
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Mon, 23 Jan 2023 09:54:09 +0000 (10:54 +0100)
committerBenjamin Tissoires <benjamin.tissoires@redhat.com>
Wed, 12 Apr 2023 15:13:37 +0000 (17:13 +0200)
commit7d0b3f100b144d6910d75158c586b047f7e634a2
tree70c52f20b598eba3789ffd2873b69e60d1421594
parent2653e3fe33f411227296552b2e5f9c2640924900
selftests: hid: make vmtest rely on make

Having a default binary is simple enough, but this also means that
we need to keep the targets in sync as we are adding them in the Makefile.

So instead of doing that manual work, make vmtest.sh generic enough to
actually be capable of running 'make -C tools/testing/selftests/hid'.

The new image we use has make installed, which the base fedora image
doesn't.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
tools/testing/selftests/hid/vmtest.sh