diff --git a/contrib/CMakeLists.txt b/contrib/CMakeLists.txt
--- a/contrib/CMakeLists.txt
+++ b/contrib/CMakeLists.txt
@@ -3,6 +3,7 @@
 	add_subdirectory(source-control-tools)
 endif()
 
+add_subdirectory(buildbot)
 add_subdirectory(devtools)
 
 include(PackageHelper)
diff --git a/contrib/buildbot/CMakeLists.txt b/contrib/buildbot/CMakeLists.txt
new file mode 100644
--- /dev/null
+++ b/contrib/buildbot/CMakeLists.txt
@@ -0,0 +1,5 @@
+add_custom_target(check-buildbot
+	COMMENT "Running the buildbot tests"
+	COMMAND "${Python_EXECUTABLE}" -m pytest
+	WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/test"
+)