Age | Commit message (Collapse) | Author | Files | Lines |
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Uses ci-fairy from freedesktop/ci-templates
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Based on debian stable because we don't expect this repo to be updated very
often, so let's not play catch-up with more frequently updated distributions.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Might as well be useful here
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Required by the respective files but the current include order hides this.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
When building with srcdir != builddir, the resulting file won't be in the
source directory.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
This condition was introduced when evemu was a new project and not available
everywhere. That hasn't been true for years anymore, let's just make this
unconditional and drop some of the ifdefs.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
"Where defined, SIGUNUSED is synonymous with SIGSYS on most architectures.
Since glibc 2.26, SIGUNUSED is no longer defined on any architecture."
from signal(7)
|
|
This breaks compilation on RHEL7.4 and reverting it seems to work fine on
F26. Not sure what's going on there.
This reverts commit 51a836bf4cafa7fb3d3f71d9cf9b7cb8158a32f2.
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Some compiler change apparently makes this necessary now.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
This one is no longer provided and we don't care about the font anyway.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
It looks like xorg-gtest and libX11 have a different idea of where the error
handler pointer is supposed to point at. Check for the default handler
returned from XSet*ErrorHandler by setting a NULL error handler first.
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Code using xorg-gtest and compiling on 32-bit x86 targets using
GCC 4.7 or later get a truncation warning setting timeouts for
sigtimedwait(). If the code sets -Werror this is fatal.
This patch prevents those warnings.
Signed-off-by: Stephen M. Webb <stephen.webb@canonical.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Some systems provide valgrind as a shell script wrapper that calls
through to the real valgrind binary. The xorg-gtest test suite
fails on those platforms because it causes the process args to
mismatch.
Signed-off-by: Stephen M. Webb <stephen.webb@canonical.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
The example tests suite failed to build in a headless environment because
that test suite relied on a default x.org installation. This patch does not
assume the build system has such a server and uses the dummy driver explicitly.
Signed-off-by: Stephen M. Webb <stephen.webb@canonical.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
All other xorg projects run configure, let's make this one comply with that.
Support NOCONFIGURE.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
oops.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
My box here takes just under 1200 ms to terminate a full server, which is
just over the current default timeout of 1000, causing the examples to fail.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Prevent callers from getting odd errors if they notice the wait fails
because the child is still running and errno is still on whatever it was
before.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
SCOPED_TRACE will only print if the current scope fails and this can never
happen here. Change one message to standard printf, drop the others.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Every so-often, the server doesn't terminate fast enough and we fail the
test. Put a wait loop in.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
No need to specify those when waiting for core or extension events that are
not GenericEvents.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
export XORG_GTEST_USE_VALGRIND="valgrind --leak-check=full"
./run-some-test
But really, can be used with any wrapper binary. Given that valgrind is the
main use-case here, keep the USE_VALGRIND naming instead of something more
generic like USE_PROCESS_WRAPPER or so.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|