[PATCH libinput 2/2] test: Add test for mouse dpi tag parser

Derek Foreman derekf at osg.samsung.com
Tue Nov 25 08:17:38 PST 2014


On 25/11/14 01:35 AM, Peter Hutterer wrote:
> On Mon, Nov 24, 2014 at 03:53:37PM -0600, Derek Foreman wrote:
>> Signed-off-by: Derek Foreman <derekf at osg.samsung.com>
>> ---
>>  test/Makefile.am        |  7 ++++-
>>  test/mouse_dpi_parser.c | 69 +++++++++++++++++++++++++++++++++++++++++++++++++
>>  2 files changed, 75 insertions(+), 1 deletion(-)
>>  create mode 100644 test/mouse_dpi_parser.c
> 
>> diff --git a/test/Makefile.am b/test/Makefile.am
>> index 0abd695..1f124a3 100644
>> --- a/test/Makefile.am
>> +++ b/test/Makefile.am
>> @@ -41,7 +41,8 @@ run_tests = \
>>  	test-trackpoint \
>>  	test-misc \
>>  	test-keyboard \
>> -	test-device
>> +	test-device \
>> +	test-mouse_dpi_parser
> 
> any reason you didn't add this to misc.c?
> I prefer having the tests roughly grouped over a separate file for each
> small test.

Nope, just ignorance of standard procedure. :)

I'll have a v2 patch out later today.

Thanks,
Derek


More information about the wayland-devel mailing list