lib/igt_core.c: Expand --run-subtest functionality.

Added extended wildcard support when specifying --run-subtest.

Wildcard format is as specified in rfc3977 and the uwildmat() implementation
is taken from libinn.
See https://tools.ietf.org/html/rfc3977#section-4 for a description of
allowed wildcard expressions.

v2: Use comma as list separator (Ville Syrjala)
support both ^ and ! as not operators (Dave Gordon)

v3: Updated to use uwildmat() (Dave Gordon)

Signed-off-by: Derek Morton <derek.j.morton@intel.com>
[danvet: Fixup whitespace. Add #include <stdint.h>. Run lint.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Derek Morton
2016-02-04 12:06:57 +00:00
committed by Daniel Vetter
parent 0a45d6ba13
commit ef724ab2bb
5 changed files with 536 additions and 2 deletions
+2
View File
@@ -60,6 +60,8 @@ libintel_tools_la_SOURCES = \
igt_core.h \
igt_draw.c \
igt_draw.h \
uwildmat/uwildmat.h \
uwildmat/uwildmat.c \
$(NULL)
.PHONY: version.h.tmp