test: allow for substring matching in the various --filter- arguments
authorPeter Hutterer <peter.hutterer@who-t.net>
Mon, 11 Nov 2019 04:37:43 +0000 (14:37 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Fri, 15 Nov 2019 00:24:00 +0000 (00:24 +0000)
commita524cf97619f97c742f982065b6aa7698ca4779f
tree553f00b4f498126f10295a2ced9f75ed511fa740
parent2c4105ae5138298ccb733f226480cbe55f5f41ad
test: allow for substring matching in the various --filter- arguments

A unique substring of a test/group/device should be enough to filter, even
without surrounding it with asterisks.

This allows for things like --filter-device=t440 as opposed to the previous
--filter-device="*t440*".

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
test/litest.c