File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -318,16 +318,14 @@ ADD_DEFINITIONS(-DENABLE_TESTS)
318
318
ENABLE_TESTING ()
319
319
# Adds some testing specific build targets e.g. make Experimental
320
320
INCLUDE (Dart )
321
- # Define "make check" as alias for "make test" - thanks geos :-)
322
- add_custom_target (check COMMAND ctest --output-on-failure )
323
321
# Additional test configuration options e.g. max upload size of test report
324
322
CONFIGURE_FILE (
325
323
"${CMAKE_SOURCE_DIR} /cmake_templates/CTestCustom.cmake.in"
326
324
"${CMAKE_BINARY_DIR} /CTestCustom.cmake"
327
325
IMMEDIATE @ONLY )
328
326
# For server side testing we have no X, we can use xfvb as a fake x
329
327
# sudo apt-get install xfvb
330
- add_custom_target (check-no-x COMMAND xvfb-run --server-args=-screen\ 10\ 1024x768x24 ctest --output-on-failure )
328
+ add_custom_target (check COMMAND xvfb-run --server-args=-screen\ 10\ 1024x768x24 ctest --output-on-failure )
331
329
ENDIF (ENABLE_TESTS )
332
330
333
331
IF (WITH_CORE )
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ Make sure that you have enabled building of tests in CMake.
9
9
# Run tests
10
10
11
11
You can run all tests using ` make check ` .
12
+ Note you will need ` xvfb-run ` for that (sudo apt-get install xfvb).
12
13
13
14
Individual tests can be run using ` ctest ` .
14
15
You can’t perform that action at this time.
0 commit comments