mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-03 13:19:03 +00:00
ostest:Ignore runtime error.
wdog.c:190:3: runtime error: signed integer overflow: 9223372036854775807 + 1 cannot be represented in type 'long int'
#0 0x40e35d3a in wdog_test_run /home/cuiziwei/ska/vela/vela-dev2/apps/testing/ostest/wdog.c:190
#1 0x40e35e75 in wdog_test_thread /home/cuiziwei/ska/vela/vela-dev2/apps/testing/ostest/wdog.c:207
#2 0x40773ffa in pthread_startup pthread/pthread_create.c:59
#3 0x4495e037 in pthread_start pthread/pthread_create.c:139
#4 0x40301864 in pre_start sim/sim_initialstate.c:52
Signed-off-by: cuiziwei <cuiziwei@xiaomi.com>
This commit is contained in:
parent
cc13d4b742
commit
e13d37f4d0
1 changed files with 2 additions and 1 deletions
|
|
@ -187,7 +187,8 @@ static void wdog_test_run(FAR wdtest_param_t *param)
|
|||
|
||||
/* Delay wraparound (delay < 0) */
|
||||
|
||||
wdtest_assert(wd_start(&test_wdog, delay + 1,
|
||||
delay = (sclock_t)((clock_t)delay + 1);
|
||||
wdtest_assert(wd_start(&test_wdog, delay,
|
||||
wdtest_callback, (wdparm_t)param) != OK);
|
||||
wdtest_assert(wd_gettime(&test_wdog) == 0);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue