staging: comedi: tests: add unittest framework for comedi
authorSpencer E. Olson <olsonse@umich.edu>
Wed, 3 Oct 2018 20:56:00 +0000 (14:56 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 9 Oct 2018 13:32:06 +0000 (15:32 +0200)
commit040e9e4dfa14de632824b9368462c1bd20d05733
tree1c82e19c4f03ac6428005d2a368388497ae7f07a
parente0b2ca8979c4b923d28eb4daa3a783463debd31c
staging: comedi: tests: add unittest framework for comedi

Adds a framework for unittests for comedi drivers.  It was certainly
possible to write some unit tests before and test various aspects of a
particular driver, but this framework makes this a bit easier and hopefully
inspires more unittest modules to be written.

Signed-off-by: Spencer E. Olson <olsonse@umich.edu>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/Makefile
drivers/staging/comedi/drivers/tests/Makefile [new file with mode: 0644]
drivers/staging/comedi/drivers/tests/example_test.c [new file with mode: 0644]
drivers/staging/comedi/drivers/tests/unittest.h [new file with mode: 0644]