Simple unlink() call to the logfile in use. The log file is only removed if
the server was started and terminated successfully. If it was never started
or the startup failed for some reason, this function does nothing.
Signed-off-by: Peter Hutterer
---
include/xorg/gtest/xorg-gtest-xserver.h | 6
Add a set of basic states to Process to allow callers to keep track of which
state a process is in (as seen from the library). This simplifies code that
needs to happen on certain conditions only, e.g. log file cleanup is only
needed if the process was previously started.
Signed-off-by: Peter Hutt
Signed-off-by: Peter Hutterer
---
include/xorg/gtest/xorg-gtest-xserver.h | 1 +
src/xserver.cpp | 6 ++
2 files changed, 7 insertions(+)
diff --git a/include/xorg/gtest/xorg-gtest-xserver.h
b/include/xorg/gtest/xorg-gtest-xserver.h
index ee2b0e3..f3bda9b 100644
---
A GetOption() call would be more generic here, but for log and config file
it's more intuitive to have actual methods instead of having to pass
"-config" to a generic GetOption() call.
Signed-off-by: Peter Hutterer
---
include/xorg/gtest/xorg-gtest-xserver.h | 16
src/xserver.cp
We implicitly already require this (examples/ won't build with relative
paths), so make it explicit in the macros
Signed-off-by: Peter Hutterer
---
aclocal/xorg-gtest.m4 | 16 +---
m4/gtest.m4 | 14 --
2 files changed, 25 insertions(+), 5 deletions(-)
diff --gi
On Wed, Aug 08, 2012 at 09:23:11AM -0700, Chase Douglas wrote:
> On 08/07/2012 09:34 PM, Peter Hutterer wrote:
> >For non-integrated tests, knowing the X server version is important.
> >
> >Signed-off-by: Peter Hutterer
> >---
> >I thought about decomposing this string into numbers, but really, st
**2012 X.Org Developers Conference (XDC 2012) **
**19-21 September 2012**
**Nürnberg (Nuremberg), Germany**
**Call for Proposals - supplemental **
On Aug 4, 2012, X.Org released a Call for Proposals (CFP) for the X.Org
Developers Conference 2012 (XDC2012). This CFP is meant to be
complementary t