[PATCH xorg-gtest 5/5] xserver: add RemoveLogFile()

2012-08-09 Thread Peter Hutterer
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

[PATCH xorg-gtest 4/5] process: add state enum and GetState()

2012-08-09 Thread Peter Hutterer
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

[PATCH xorg-gtest 3/5] xserver: add destructor to tear down the server

2012-08-09 Thread Peter Hutterer
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 ---

[PATCH xorg-gtest 2/5] xserver: add getters and setters for config and log file

2012-08-09 Thread Peter Hutterer
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

[PATCH xorg-gtest 1/5] Require gtest-source-path to be absolute

2012-08-09 Thread Peter Hutterer
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

Re: [PATCH xorg-gtest] xserver: add GetVersion() to retrieve server version

2012-08-09 Thread Peter Hutterer
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

Call For Proposals XDC2012 - supplemental press release

2012-08-09 Thread Matt Dew
**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