summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-08-02Use xinput to double-check the log.HEADmasterPeter Hutterer1-4/+14
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-08-02XOrg: more more failure case fo the xorg.log device init failurePeter Hutterer1-0/+2
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-08-02Factor out driver tests, they need to be more specific.Peter Hutterer2-13/+174
Each driver is slightly different, handle them separately. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-08-02Save xorg.conf and xorg.log from driver testPeter Hutterer1-0/+3
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-08-02Create a results directory, save files and debug log to itPeter Hutterer1-1/+57
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-08-02XOrg: don't use $foo->bar substitution in regex.Peter Hutterer1-2/+2
There's probably a way to do this directly, but meanwhile use the match $1 to compare afterwards. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-08-02XOrg: for xorg.conf devices, "Using input driver" is the first linePeter Hutterer1-1/+1
Don't rely on $dev to be set. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-08-02Add a test suite for xorg.conf devices.Peter Hutterer1-0/+80
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-08-02Add support for Test suites.Peter Hutterer3-16/+138
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-08-02Pass tester and testee around instead of relying on $self.Peter Hutterer2-16/+47
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-08-02Add iltest support for test suites.Peter Hutterer1-1/+5
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-08-02XST: Add Test for basic xorg.conf driver.Peter Hutterer1-0/+143
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-08-02XST: implement a simple xinit equivalentPeter Hutterer1-0/+102
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-08-02Add XST directory with some X Server tests.Peter Hutterer2-0/+34
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-08-02Basic testing framework.Peter Hutterer4-0/+536
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-08-02XOrg: add a basic HAL module to control HAL from test scripts.Peter Hutterer1-0/+180
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-08-02XOrg: return errors when writing to config filePeter Hutterer1-1/+2
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-08-02XOrg: Add a parent class for the xorgconf modulePeter Hutterer2-39/+119
The future HAL module will need some of the same functions, might as well just write them once. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-08-02XOrg: POD the Module module.Peter Hutterer1-5/+35
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-08-02XOrg: Return module version as triplet, not reference.Peter Hutterer1-1/+1
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-08-02XOrg: POD the InputDevice modulePeter Hutterer1-17/+113
2011-08-02XOrg: POD the XServer modulePeter Hutterer1-2/+79
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-08-02XOrg: Return version as triple, not array reference.Peter Hutterer1-1/+1
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-08-02XOrg: Remove testers from module.Peter Hutterer1-4/+0
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-08-02XOrg: POD the xorglog modulePeter Hutterer1-1/+26
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-08-02XOrg: Add a xorg.conf generator.Peter Hutterer1-0/+239
Only works for selected input device features though. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-08-02XOrg: add * to XOrg::*Peter Hutterer5-24/+24
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-07-30XOrg: Move X Server stuff from log parser to XServer.pmPeter Hutterer2-53/+130
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-07-30XOrg: PreInit failures means the device isn't presentPeter Hutterer1-0/+2
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-07-30XOrg: xorg.conf devices aren't prefixed either.Peter Hutterer1-2/+12
First line that comes is "Using input driver..." Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-07-30XOrg: if the device node isn't set, Option Device sets it.Peter Hutterer1-0/+3
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-07-30XOrg: if InputClasses are different to the device name, it's a new devicePeter Hutterer2-3/+13
The first message from Wacom hotplugged devices is simply the input classes applied. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-07-30XOrg: return 0 for non-present devicesPeter Hutterer2-0/+11
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-07-27XOrg: parse options tooPeter Hutterer2-0/+23
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-07-27XOrg: Parse some input driver information.Peter Hutterer2-1/+77
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-07-26XOrg: add the start of an xorg.log parserPeter Hutterer2-0/+297
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-07-25XOrg: add two modules representing input devices and the xinput toolPeter Hutterer2-0/+242
xinput currently only wraps device names in xinput --list. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-07-22Add GPL document, this program is GPLv2 licensed.Peter Hutterer1-0/+339
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-07-22Add README for functionality outline.Peter Hutterer1-0/+32
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>