Browse Source

uORB tests increase stack sizes

sbg
Daniel Agar 7 years ago
parent
commit
ea73284a1f
  1. 16
      src/modules/uORB/uORB_tests/CMakeLists.txt
  2. 2
      src/modules/uORB/uORB_tests/uORBTest_UnitTest.cpp
  3. 2
      src/modules/uORB/uORB_tests/uORBTest_UnitTest.hpp

16
src/modules/uORB/uORB_tests/CMakeLists.txt

@ -31,22 +31,12 @@ @@ -31,22 +31,12 @@
#
############################################################################
# this includes the generated topics directory
include_directories(${CMAKE_CURRENT_BINARY_DIR})
set(SRCS uORB_tests_main.cpp)
if(NOT ${OS} STREQUAL "qurt")
list(APPEND SRCS uORBTest_UnitTest.cpp)
endif()
px4_add_module(
MODULE modules__uORB__uORB_tests
MAIN uorb_tests
STACK_MAIN 2048
PRIORITY "SCHED_PRIORITY_MAX"
COMPILE_FLAGS
SRCS ${SRCS}
DEPENDS
SRCS
uORB_tests_main.cpp
uORBTest_UnitTest.cpp
)

2
src/modules/uORB/uORB_tests/uORBTest_UnitTest.cpp

@ -506,7 +506,7 @@ int uORBTest::UnitTest::test_multi2() @@ -506,7 +506,7 @@ int uORBTest::UnitTest::test_multi2()
int pubsub_task = px4_task_spawn_cmd("uorb_test_multi",
SCHED_DEFAULT,
SCHED_PRIORITY_MAX - 5,
1500,
2000,
(px4_main_t)&uORBTest::UnitTest::pub_test_multi2_entry,
args);

2
src/modules/uORB/uORB_tests/uORBTest_UnitTest.hpp

@ -147,7 +147,7 @@ int uORBTest::UnitTest::latency_test(orb_id_t T, bool print) @@ -147,7 +147,7 @@ int uORBTest::UnitTest::latency_test(orb_id_t T, bool print)
int pubsub_task = px4_task_spawn_cmd("uorb_latency",
SCHED_DEFAULT,
SCHED_PRIORITY_MAX,
1700,
2000,
(px4_main_t)&uORBTest::UnitTest::pubsubtest_threadEntry,
args);

Loading…
Cancel
Save