Commit 37e37c71 authored by Harald Sitter's avatar Harald Sitter 😷

search for gdb as integration test requirement as well

parent 76407e9a
......@@ -13,6 +13,10 @@ if(RUBY_EXECUTABLE)
execute_process(COMMAND ${RUBY_EXECUTABLE} -e "require 'xmlrpc/server'"
RESULT_VARIABLE RUBY_XMLRPC)
endif()
if(NOT GDB_EXECUTABLE)
# Needed so drkonqi can actually trace something.
find_program(GDB_EXECUTABLE gdb)
endif()
if(NOT XVFB_RUN_EXECTUABLE)
find_program(XVFB_RUN_EXECTUABLE xvfb-run)
endif()
......@@ -26,9 +30,9 @@ if(NOT ATSPI_BUS_LAUNCHER_EXECUTABLE)
endif()
if(RUBY_EXECUTABLE AND XVFB_RUN_EXECTUABLE AND ATSPI_BUS_LAUNCHER_EXECUTABLE
AND RUBY_ATSPI EQUAL 0 AND RUBY_XMLRPC EQUAL 0)
AND GDB_EXECUTABLE AND RUBY_ATSPI EQUAL 0 AND RUBY_XMLRPC EQUAL 0)
set(WITH_DRKONI_INTEGRATION_TESTING TRUE)
endif()
add_feature_info(DrKonqiIntegrationTesting WITH_DRKONI_INTEGRATION_TESTING
"Needs Ruby, functional atspi and xmlrpc gems, as well as xvfb-run.")
"Needs Ruby, functional atspi and xmlrpc gems, gdb, as well as xvfb-run.")
add_subdirectory(integration)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment