Commit 8ad6a557 authored by Ralf Habacker's avatar Ralf Habacker

Include test-dbus and test-bus in cmake 'make check' target.

Because test-dbus and test-bus lives in subdirectory dbus/bus, we need
to define make 'check' in top level source directory.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=73689Reviewed-by: default avatarSimon McVittie <simon.mcvittie@collabora.co.uk>
parent 3d363220
......@@ -496,6 +496,9 @@ add_subdirectory( dbus )
add_subdirectory( bus )
if (DBUS_BUILD_TESTS)
add_subdirectory( test )
add_custom_target(check
COMMAND ctest -R ^test-.*
)
endif (DBUS_BUILD_TESTS)
add_subdirectory( tools )
add_subdirectory( doc )
......
......@@ -172,7 +172,3 @@ FOREACH(FILE ${FILES})
MESSAGE("FROM: ${FILE}\nTO: ${TARGET}\n")
ENDIF (CONFIG_VERBOSE)
ENDFOREACH(FILE)
add_custom_target(check
COMMAND ctest -R ^test-.*
)
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