[PATCH xorg-gtest v2 9/9] Allow user to override default Xorg server binary
Chase Douglas
chase.douglas at canonical.com
Tue Mar 13 11:47:46 PDT 2012
This can be accomplished by compiling xorg-gtest with
-DDEFAULT_XORG_SERVER=path/to/Xorg.
Signed-off-by: Chase Douglas <chase.douglas at canonical.com>
---
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
More information about the xorg-devel
mailing list