This is the first few tests and basic layout of the integration test suite Chase wrote. It's not unlike XTS, but based on xorg-gtest and googletest, plus it's integrated into the server repo so we can keep behaviour tests in lockstep with the actual patches.
The current tests need to be run as root to work, they require uinput
devices to be created. If not run as root, the tests will succeed anyway
(with a messsage) so make check won't just error out all the time.
The following changes since commit 3476eb38063473a7a5fcd78e2095e284118de839:
Merge remote-tracking branch 'whot/for-keith' (2012-06-03 20:24:24 -0700)
are available in the git repository at:
git://people.freedesktop.org/~whot/xserver integration-testing
for you to fetch changes up to 092d98c17999fbf696e4db8f1d85e79052c83be5:
Merge branch 'integration-tests' of
git://people.freedesktop.org/~cndougla/xserver into integration-testing
(2012-06-08 11:43:36 +1000)
----------------------------------------------------------------
Chase Douglas (5):
Add xorg-gtest integration test framework
Add XInput 2.x integration test framework
Add test for XIQueryPointer button mask when physical touch is active
Add test for touch end on device disable
End physically active touches when device is disabled
Peter Hutterer (1):
Merge branch 'integration-tests' of
git://people.freedesktop.org/~cndougla/xserver into integration-testing
configure.ac | 35 +-
dix/devices.c | 1 +
dix/touch.c | 28 ++
include/input.h | 1 +
m4/xorg-gtest.m4 | 110 ++++++
test/Makefile.am | 2 +-
test/integration/.gitignore | 1 +
test/integration/Makefile-xorg-gtest.am | 64 ++++
test/integration/Makefile.am | 28 ++
.../recordings/ntrig_dell_xt2/device.prop | 32 ++
.../recordings/ntrig_dell_xt2/touch_1_begin.record | 11 +
.../recordings/ntrig_dell_xt2/touch_1_end.record | 3 +
test/integration/xi2.cpp | 356 ++++++++++++++++++++
13 files changed, 670 insertions(+), 2 deletions(-)
create mode 100644 m4/xorg-gtest.m4
create mode 100644 test/integration/.gitignore
create mode 100644 test/integration/Makefile-xorg-gtest.am
create mode 100644 test/integration/Makefile.am
create mode 100644 test/integration/recordings/ntrig_dell_xt2/device.prop
create mode 100644
test/integration/recordings/ntrig_dell_xt2/touch_1_begin.record
create mode 100644
test/integration/recordings/ntrig_dell_xt2/touch_1_end.record
create mode 100644 test/integration/xi2.cpp
pgpn5Z8kGjTMB.pgp
Description: PGP signature
_______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
