test: filter BTN_TOOL_PEN correctly for the mouse tool tests
authorPeter Hutterer <peter.hutterer@who-t.net>
Fri, 5 Apr 2019 05:49:31 +0000 (15:49 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Tue, 9 Apr 2019 03:41:37 +0000 (13:41 +1000)
commit1a1b6070c44a2595de996c2c295db2c205796bdd
tree61840cbb9933e53e50f8f4f1ba786fa0ba0ad7e4
parentbdd6f3d40bf19eb3d62b5f9c590ce60a5eb6a63b
test: filter BTN_TOOL_PEN correctly for the mouse tool tests

With the previous code we'd set both tools simultaneously which isn't allowed.
It only worked because the second tool set was the one we cared about.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
test/test-tablet.c