summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-05-29Only run XRR*ProviderProperty tests if xrandr >= 1.4HEADmasterAlan Coopersmith2-1/+5
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-05-29Use XORG_MEMORY_CHECK_FLAGS to enable memory checks on various platformsAlan Coopersmith1-3/+10
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-05-17Avoid double free of client.conn if HandleClientRequest detects disconnectAlan Coopersmith1-1/+3
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-05-10Use strsignal(3) which is more standard than sig2str()Matthieu Herrb1-3/+4
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-05-05Bump version number from 0.0.1 to 0.0.2Alan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-05-05Add libX11/XkbGetMap test (doesn't work yet)Alan Coopersmith2-0/+110
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-05-05Move Xkb extension setup to tests/libX11/xhiv-Xkb.h headerAlan Coopersmith3-36/+73
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-05-05Add libXrender/XRenderQueryPictIndexValues testAlan Coopersmith2-0/+82
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-05-05Add libXrender/XRenderQueryFormats testAlan Coopersmith2-0/+83
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-05-05Add libXrender/XRenderQueryFilters testAlan Coopersmith5-0/+224
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-05-05Add libXrandr/XRRQueryProviderProperty testAlan Coopersmith2-0/+75
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-05-05Add libXrandr/XRRQueryOutputProperty testAlan Coopersmith2-0/+75
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-05-05Add libX11/XGetWindowProperty testAlan Coopersmith2-0/+91
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-05-05Make query extension replies static, instead of pointers to stack buffersAlan Coopersmith1-5/+13
Make sure the data is still valid when its time to send to client Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-05-05Add libXrandr/XRRGetProviderProperty testAlan Coopersmith2-0/+94
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-05-05Add libXrandr/XRRGetOutputProperty testAlan Coopersmith5-0/+208
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-05-05Add libXinerama/XineramaQueryScreens testAlan Coopersmith4-0/+150
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-05-02Add libXext/XSyncListSystemCounters testAlan Coopersmith2-0/+115
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-05-02Add libXext/XShapeGetRectangles testAlan Coopersmith2-0/+116
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-05-01Add libXext/XdbeGetVisualInfo testAlan Coopersmith2-0/+128
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-05-01Add libXext/XcupStoreColors test (partially working)Alan Coopersmith2-0/+114
Successfully gets error return from new code, but tends to get IOErrors, not overflow, from old code. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-05-01Add libXext/XcupGetReservedColormapEntries test (doesn't work yet)Alan Coopersmith4-0/+154
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-05-01Send SIGHUP to server at end of xcb testAlan Coopersmith1-0/+4
Since xcb doesn't actually shut down the socket when an error occurs, we'd hang until our SIGALRM goes off if we did create an xcb connection error in our test, so we make sure the server exits when desired. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-05-01Add libxcb/xcb_read_packet testAlan Coopersmith4-0/+106
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-05-01Allow xcb tests to end with connection errorsAlan Coopersmith2-3/+12
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-05-01Add libXi/XListInputDevices testAlan Coopersmith2-0/+95
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-05-01Add libXi/XGetDeviceProperty testAlan Coopersmith2-0/+89
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-05-01Add libXi/XIGetSelectedEvents testAlan Coopersmith2-0/+108
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-05-01Add libXi/XIGetProperty testAlan Coopersmith2-0/+92
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-05-01Add libXi/XGetDeviceMotionEvents testAlan Coopersmith2-0/+81
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-05-01Add libXi/XGetDeviceDontPropagateList testAlan Coopersmith2-0/+75
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-04-28Add libXi/XGetFeedbackControl testAlan Coopersmith2-0/+95
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-04-28Allow tests to repeat a data packet a specified number of timesAlan Coopersmith2-5/+12
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-04-28Add libXi/XGetDeviceControl testAlan Coopersmith2-0/+91
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-04-28Add libXi/XQueryDeviceState testAlan Coopersmith2-0/+97
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-04-28Add libXi/XIPassiveGrabDevice testAlan Coopersmith3-0/+123
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-04-28Add libXi/XGetDeviceButtonMapping testAlan Coopersmith5-0/+254
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-04-28Add libX11/XkbGetDeviceInfo testAlan Coopersmith2-0/+144
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-04-27Allow test programs to provide responses to selected QueryExtension callsAlan Coopersmith2-8/+24
Allows them to provide their own psuedo-implementations of Extensions. If the sequence in a response is set to XHIV_SEQ_MATCHDATA, then the new match_data field has a pointer to additional matching constraints. So far only X_QueryExtension will check those, and it expects a null terminated extension name string to match against the queried extension. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-04-27Add libX11/XListHosts test - doesn't work yetAlan Coopersmith2-0/+79
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-04-27Install custom XIOError handler to abort on IO errorAlan Coopersmith1-0/+15
Allows debugging the core file to see what went wrong Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-04-27Add libX11/XGetMotionEvents testAlan Coopersmith2-0/+72
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-04-27Add libX11/XListFontsWithInfo testAlan Coopersmith2-0/+112
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-03-30Allow requests to return a chain of multiple repliesAlan Coopersmith2-12/+27
Needed for XListFontsWithInfo test
2013-03-30Add libX11/XQueryFont testAlan Coopersmith2-0/+137
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-03-30Tell automake to run all the tests when "make check" is runAlan Coopersmith1-0/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-03-30Expose sequence number setting "extension" to test programsAlan Coopersmith5-22/+58
Allows setting specific sequeunce numbers for matching request patterns to avoid having to match exact sequences of calls Xlib may make behind the scenes to check for/use various extensions for you. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-03-30Add alarm() call to kill processes after 5 minutesAlan Coopersmith1-0/+4
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-03-30Switch xtrans from X11_t to XSERV_t to avoid conflicts with pre-xcb XlibAlan Coopersmith4-17/+38
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-03-30Allow building without xcb for testing on older systemsAlan Coopersmith3-2/+12
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>