Fix unit tests

This commit is contained in:
Lorenz Meier 2016-03-03 10:46:45 +01:00
parent e6b9712ff5
commit e73ae292dc
1 changed files with 9 additions and 9 deletions

View File

@ -86,7 +86,7 @@ function(add_gtest)
endfunction() endfunction()
add_library( px4_platform add_library( px4_platform
# ${PX_SRC}/platforms/common/px4_getopt.c # ${PX_SRC}/platforms/common/px4_getopt.c
${PX_SRC}/platforms/posix/px4_layer/px4_log.c ${PX_SRC}/platforms/posix/px4_layer/px4_log.c
${PX_SRC}/platforms/posix/px4_layer/px4_posix_impl.cpp ${PX_SRC}/platforms/posix/px4_layer/px4_posix_impl.cpp
${PX_SRC}/platforms/posix/px4_layer/px4_posix_tasks.cpp ${PX_SRC}/platforms/posix/px4_layer/px4_posix_tasks.cpp
@ -170,15 +170,15 @@ target_link_libraries( sf0x_test px4_platform )
add_gtest(sf0x_test) add_gtest(sf0x_test)
# param_test # param_test
add_executable(param_test param_test.cpp #add_executable(param_test param_test.cpp
hrt.cpp # hrt.cpp
uorb_stub.cpp # uorb_stub.cpp
${PX_SRC}/modules/systemlib/param/param.c # ${PX_SRC}/modules/systemlib/param/param.c
${PX_SRC}/modules/systemlib/bson/tinybson.c # ${PX_SRC}/modules/systemlib/bson/tinybson.c
) # )
target_link_libraries( param_test px4_platform ) #target_link_libraries( param_test px4_platform )
add_gtest(param_test) #add_gtest(param_test)
# uorb test # uorb test
#add_executable(uorb_tests uorb_unittests/uORBCommunicator_gtests.cpp #add_executable(uorb_tests uorb_unittests/uORBCommunicator_gtests.cpp