This can be accomplished by compiling xorg-gtest with -DDEFAULT_XORG_SERVER=path/to/Xorg.
Signed-off-by: Chase Douglas <[email protected]> --- src/defines.h | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/src/defines.h b/src/defines.h index 3bfc1da..3fb3304 100644 --- a/src/defines.h +++ b/src/defines.h @@ -2,7 +2,11 @@ #define XORGGTEST_DEFINES #define DEFAULT_XORG_LOGFILE "/tmp/Xorg.GTest.log" -#define DEFAULT_XORG_SERVER "Xorg" #define DEFAULT_DISPLAY 133 +/* Allow user to override default Xorg server*/ +#ifndef DEFAULT_XORG_SERVER +#define DEFAULT_XORG_SERVER "Xorg" +#endif + #endif -- 1.7.9.1 _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
