test: Add a unit test for input device classification heuristics
This uses pre-recorded evdev capabilities, so that we can check for regressions without the devices having to be physically present. Signed-off-by: Simon McVittie <smcv@collabora.com>
parent
b0eba1c55d
commit
65847539dd
|
@ -24,6 +24,7 @@ TARGETS = \
|
||||||
testdrawchessboard$(EXE) \
|
testdrawchessboard$(EXE) \
|
||||||
testdropfile$(EXE) \
|
testdropfile$(EXE) \
|
||||||
testerror$(EXE) \
|
testerror$(EXE) \
|
||||||
|
testevdev$(EXE) \
|
||||||
testfile$(EXE) \
|
testfile$(EXE) \
|
||||||
testfilesystem$(EXE) \
|
testfilesystem$(EXE) \
|
||||||
testgamecontroller$(EXE) \
|
testgamecontroller$(EXE) \
|
||||||
|
@ -148,6 +149,9 @@ testdropfile$(EXE): $(srcdir)/testdropfile.c
|
||||||
testerror$(EXE): $(srcdir)/testerror.c
|
testerror$(EXE): $(srcdir)/testerror.c
|
||||||
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
|
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
|
||||||
|
|
||||||
|
testevdev$(EXE): $(srcdir)/testevdev.c
|
||||||
|
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
|
||||||
|
|
||||||
testfile$(EXE): $(srcdir)/testfile.c
|
testfile$(EXE): $(srcdir)/testfile.c
|
||||||
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
|
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue