Skip to content
Browse files
Added make-no-x options (experimental) for running unit tests on a he…
…adless server.
  • Loading branch information
timlinux committed Apr 8, 2012
1 parent aa6d5b3 commit d1a11bec96db0fee744529a98023e7be252222c4
Showing with 3 additions and 0 deletions.
  1. +3 −0 CMakeLists.txt
@@ -239,6 +239,9 @@ IF (ENABLE_TESTS)
# Define "make check" as alias for "make test" - thanks geos :-)
add_custom_target(check COMMAND ctest --output-on-failure)
# For server side testing we have no X, we can use xfvb as a fake x
# sudo apt-get install xfvb
add_custom_target(check-no-x COMMAND xvfb-run --server-args="-screen 10,1024x768x24" ctest --output-on-failure)

0 comments on commit d1a11be

Please sign in to comment.