uORB tests increase stack sizes

This commit is contained in:
Daniel Agar 2018-09-02 15:08:28 -04:00
parent 1a0472dfab
commit ea73284a1f
3 changed files with 5 additions and 15 deletions

View File

@ -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
)

View File

@ -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);

View File

@ -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);