mirror of
https://github.com/Ryujinx/SDL.git
synced 2025-01-08 22:55:28 +00:00
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>
This commit is contained in:
parent
b0eba1c55d
commit
65847539dd
|
@ -24,6 +24,7 @@ TARGETS = \
|
|||
testdrawchessboard$(EXE) \
|
||||
testdropfile$(EXE) \
|
||||
testerror$(EXE) \
|
||||
testevdev$(EXE) \
|
||||
testfile$(EXE) \
|
||||
testfilesystem$(EXE) \
|
||||
testgamecontroller$(EXE) \
|
||||
|
@ -148,6 +149,9 @@ testdropfile$(EXE): $(srcdir)/testdropfile.c
|
|||
testerror$(EXE): $(srcdir)/testerror.c
|
||||
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
|
||||
|
||||
testevdev$(EXE): $(srcdir)/testevdev.c
|
||||
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
|
||||
|
||||
testfile$(EXE): $(srcdir)/testfile.c
|
||||
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
|
||||
|
||||
|
|
1031
test/testevdev.c
Normal file
1031
test/testevdev.c
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue