mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
Testing: Clean up unit_test target because test_results does all tests now
This commit is contained in:
@@ -37,7 +37,7 @@ include(px4_base)
|
||||
#
|
||||
# px4_add_gtest
|
||||
#
|
||||
# Adds a googletest unit test to the unit_test target.
|
||||
# Adds a googletest unit test to the test_results target.
|
||||
#
|
||||
function(px4_add_gtest)
|
||||
# skip if unit testing is not configured
|
||||
@@ -65,6 +65,6 @@ function(px4_add_gtest)
|
||||
add_test(NAME ${TESTNAME} COMMAND ${TESTNAME})
|
||||
|
||||
# attach it to the unit test target
|
||||
add_dependencies(unit_test ${TESTNAME})
|
||||
add_dependencies(test_results ${TESTNAME})
|
||||
endif()
|
||||
endfunction()
|
||||
|
||||
Reference in New Issue
Block a user