diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9572f422..f19a2f2b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -243,8 +243,6 @@ ament_export_dependencies(tracetools)
 if(BUILD_TESTING)
   find_package(ament_lint_auto REQUIRED)
   ament_lint_auto_find_test_dependencies()
-
-  add_subdirectory(test)
 endif()
 
 ament_package()
