diff --git a/Makefile b/Makefile
index a2357254c58a9088ce47a77e3f189b845916e71e..3217920e7ca17e7601b92bc7952a6a47fc1244e2 100644
--- a/Makefile
+++ b/Makefile
@@ -374,7 +374,7 @@ tests_offboard: rostest
 	@"$(SRC_DIR)"/test/rostest_px4_run.sh mavros_posix_tests_offboard_attctl.test
 	@"$(SRC_DIR)"/test/rostest_px4_run.sh mavros_posix_tests_offboard_posctl.test
 
-tests_avoidance:
+tests_avoidance: rostest
 	@"$(SRC_DIR)"/test/rostest_avoidance_run.sh mavros_posix_test_avoidance.test
 
 python_coverage: